Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 99.28 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 187 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 68.42 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002388/0.2587, allocations: 0.8753 MB / 0.7849 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2598, allocations: 0.8632 MB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.2599, allocations: 4 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.26, allocations: 7.875 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2601, allocations: 19.78 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.2603, allocations: 35.97 kB / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2604, allocations: 119.6 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2606, allocations: 41.03 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2607, allocations: 47.84 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.2608, allocations: 55.75 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.2608, allocations: 8 kB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.2609, allocations: 12 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.2609, allocations: 23.92 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.261, allocations: 47.73 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2611, allocations: 127.8 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2612, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2612, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2612, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009422/0.2621, allocations: 455 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2622, allocations: 8.031 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.2622, allocations: 16.78 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2624, allocations: 184.2 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2624, allocations: 12.31 kB / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2625, allocations: 4.375 kB / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2627, allocations: 98.14 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2627, allocations: 192 / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2627, allocations: 7.938 kB / 0.787 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2627, allocations: 4 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.2629, allocations: 59.91 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.2637, allocations: 416.4 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2639, allocations: 66.53 kB / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.264, allocations: 32.97 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.264, allocations: 0 / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.264, allocations: 38.56 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.264, allocations: 0 / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.457/0.721, allocations: 109.1 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.7211, allocations: 52.75 kB / 0.7878 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.7213, allocations: 158.2 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7213, allocations: 29.64 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.7214, allocations: 101.1 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.7214, allocations: 13.5 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.7215, allocations: 21.39 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.7215, allocations: 327 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.7216, allocations: 28.31 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.7217, allocations: 30.38 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.7218, allocations: 48.88 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7219, allocations: 0 / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002064/0.7221, allocations: 96.72 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7221, allocations: 5.094 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7221, allocations: 1.562 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7221, allocations: 0 / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7222, allocations: 13.31 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.7223, allocations: 2.625 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.7224, allocations: 33.81 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.7225, allocations: 0 / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/0.7225, allocations: 124.3 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.7226, allocations: 17.89 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.7226, allocations: 16.91 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7226, allocations: 0 / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7226, allocations: 0 / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7227, allocations: 3.062 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.7228, allocations: 201.6 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7229, allocations: 5.281 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.7229, allocations: 14.58 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7229, allocations: 0 / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.723, allocations: 0 / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.723, allocations: 0 / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.723, allocations: 0.5938 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.7232, allocations: 187.5 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.7232, allocations: 88.2 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.7233, allocations: 2.688 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.7235, allocations: 29.42 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.7235, allocations: 14.8 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7235, allocations: 0 / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.7236, allocations: 126.3 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7236, allocations: 0 / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002235/0.7238, allocations: 10.72 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.724, allocations: 105.7 kB / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.7242, allocations: 61.95 kB / 0.7896 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7242, allocations: 1.875 kB / 0.7896 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.7243, allocations: 40.89 kB / 0.7896 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.7246, allocations: 13.47 kB / 0.7896 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.7251, allocations: 234.8 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.7252, allocations: 0.6992 MB / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.7253, allocations: 13.56 kB / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7253, allocations: 0 / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.002803/0.7281, allocations: 1.302 MB / 0.7918 GB, free: 46.42 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)