Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 172.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 0.6307 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007892/0.0007893, allocations: 94.8 kB / 0.7441 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 10.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2206, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001043/0.2217, allocations: 0.5056 MB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.223, allocations: 1.13 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.2231, allocations: 0 / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2231, allocations: 3.938 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.2232, allocations: 15.91 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.2237, allocations: 116.9 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2238, allocations: 123.7 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2239, allocations: 27.97 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.103e-05/0.224, allocations: 35.91 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.2241, allocations: 43.83 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.2241, allocations: 4 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.2242, allocations: 19.97 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2242, allocations: 15.92 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.2243, allocations: 41.7 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2244, allocations: 104 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2244, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2244, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2244, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000578/0.225, allocations: 416.8 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2251, allocations: 19.95 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.2251, allocations: 15.84 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.2252, allocations: 174.9 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2252, allocations: 8 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.2253, allocations: 8 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.2255, allocations: 95.64 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2255, allocations: 0 / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2255, allocations: 4 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2256, allocations: 0 / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.2258, allocations: 67.89 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.2263, allocations: 388.5 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2265, allocations: 58.48 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.2266, allocations: 36.94 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2266, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.2268, allocations: 87.36 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.2269, allocations: 4 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004311/0.2273, allocations: 149.4 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2273, allocations: 51.41 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.2274, allocations: 137.7 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2274, allocations: 25.7 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.2275, allocations: 108 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.2275, allocations: 7.812 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.2275, allocations: 8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.2276, allocations: 310.8 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2277, allocations: 63.95 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2279, allocations: 83.39 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.228, allocations: 89.64 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2281, allocations: 0 / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003595/0.2284, allocations: 195.2 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.2285, allocations: 37.69 kB / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2285, allocations: 0 / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2285, allocations: 12.02 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.2286, allocations: 11.94 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2286, allocations: 3.984 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.2288, allocations: 55.95 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.2289, allocations: 8 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/0.229, allocations: 125.8 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.229, allocations: 7.891 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.229, allocations: 12.38 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.229, allocations: 4.047 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.229, allocations: 3.938 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2291, allocations: 4 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.2292, allocations: 193.9 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2292, allocations: 0 / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.2293, allocations: 15.94 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2293, allocations: 0 / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2293, allocations: 7.984 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2293, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2293, allocations: 3.953 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.2296, allocations: 137 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.2296, allocations: 77.11 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2296, allocations: 0 / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.2297, allocations: 19.98 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2298, allocations: 11.98 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.2298, allocations: 3.953 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.2298, allocations: 95.27 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2298, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002037/0.23, allocations: 27.91 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.2302, allocations: 107.2 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.2306, allocations: 179.3 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2306, allocations: 0 / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.2307, allocations: 44.05 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2309, allocations: 15.98 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.2313, allocations: 197 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2314, allocations: 0.7013 MB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.2314, allocations: 7.938 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2315, allocations: 11.44 kB / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2315, allocations: 0 / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.003335/0.2348, allocations: 1.408 MB / 0.9877 GB, free: 18.95 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)