Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.SimpleHouse.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleHouse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T|heaWat.u|vavDam.y|fan.sta_a.T|fan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Examples.SimpleHouse") translateModel(Buildings.Examples.SimpleHouse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T|heaWat.u|vavDam.y|fan.sta_a.T|fan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001374, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.0015/0.0015, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 59.91 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.097, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.SimpleHouse): time 0.3683/1.465, allocations: 348.5 MB / 1.561 GB, free: 4.605 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.246/2.711, allocations: 41.57 MB / 1.602 GB, free: 11.42 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01429/2.725, allocations: 221.4 kB / 1.602 GB, free: 11.42 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01553/2.741, allocations: 3.937 MB / 1.606 GB, free: 11.35 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.0387/2.779, allocations: 9.015 MB / 1.615 GB, free: 11.05 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02597/2.805, allocations: 5.371 MB / 1.62 GB, free: 10.93 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.06959/2.875, allocations: 23.9 MB / 1.643 GB, free: 10.84 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02728/2.902, allocations: 7.546 MB / 1.651 GB, free: 9.848 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03653/2.939, allocations: 8.318 MB / 1.659 GB, free: 9.758 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02147/2.96, allocations: 5.609 MB / 1.664 GB, free: 8.871 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.007209/2.968, allocations: 0.787 MB / 1.665 GB, free: 8.871 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02467/2.992, allocations: 6.415 MB / 1.671 GB, free: 8.789 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.006926/2.999, allocations: 2.645 MB / 1.674 GB, free: 8.461 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01559/3.015, allocations: 4.651 MB / 1.678 GB, free: 7.18 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03899/3.054, allocations: 14.17 MB / 1.692 GB, free: 3.719 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/3.054, allocations: 0 / 1.692 GB, free: 3.719 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.216e-06/3.054, allocations: 0 / 1.692 GB, free: 3.719 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0008521/3.055, allocations: 0 / 1.692 GB, free: 3.719 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1222 * Number of variables: 1222 Notification: Performance of Generate backend data structure: time 0.04036/3.095, allocations: 9.575 MB / 1.702 GB, free: 13.2 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 9.341e-05/3.095, allocations: 14.8 kB / 1.702 GB, free: 13.19 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/3.115, allocations: 2.643 MB / 1.704 GB, free: 12 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02765/3.143, allocations: 8.533 MB / 1.712 GB, free: 6.672 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006992/3.144, allocations: 378.3 kB / 1.713 GB, free: 6.504 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002809/3.147, allocations: 492.4 kB / 1.713 GB, free: 6.348 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/3.171, allocations: 6.457 MB / 1.72 GB, free: 15.94 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000328/3.171, allocations: 15.41 kB / 1.72 GB, free: 15.93 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00231/3.174, allocations: 207.4 kB / 1.72 GB, free: 15.73 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002918/3.174, allocations: 200.9 kB / 1.72 GB, free: 15.54 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/3.196, allocations: 6.085 MB / 1.726 GB, free: 9.488 MB / 1.311 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07487/3.271, allocations: 29.39 MB / 1.755 GB, free: 10.85 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/3.284, allocations: 3.919 MB / 1.758 GB, free: 6.945 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006969/3.291, allocations: 2.297 MB / 1.761 GB, free: 4.648 MB / 1.342 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.03265/3.323, allocations: 8.927 MB / 1.769 GB, free: 11.59 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006774/3.33, allocations: 2.26 MB / 1.772 GB, free: 9.281 MB / 1.357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004605/3.335, allocations: 292.4 kB / 1.772 GB, free: 8.992 MB / 1.357 GB Notification: Performance of pre-optimization done (n=279): time 1.269e-05/3.335, allocations: 0 / 1.772 GB, free: 8.992 MB / 1.357 GB Notification: Performance of matching and sorting (n=279): time 0.02412/3.359, allocations: 6.631 MB / 1.778 GB, free: 2.168 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/3.359, allocations: 273.5 kB / 1.779 GB, free: 1.844 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02162/3.381, allocations: 6.751 MB / 1.785 GB, free: 11.13 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.001401/3.382, allocations: 93.7 kB / 1.785 GB, free: 11.03 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.005251/3.388, allocations: 3.321 MB / 1.789 GB, free: 7.707 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.002028/3.39, allocations: 0.9663 MB / 1.79 GB, free: 6.75 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002155/3.392, allocations: 1.007 MB / 1.79 GB, free: 5.73 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.000102/3.392, allocations: 306.5 kB / 1.791 GB, free: 5.43 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/3.398, allocations: 2.336 MB / 1.793 GB, free: 3.074 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007636/3.406, allocations: 3.577 MB / 1.797 GB, free: 15.01 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/3.418, allocations: 5.45 MB / 1.802 GB, free: 9.25 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-05/3.418, allocations: 8 kB / 1.802 GB, free: 9.242 MB / 1.389 GB Notification: Performance of matching and sorting (n=610) (initialization): time 0.0262/3.445, allocations: 7.074 MB / 1.809 GB, free: 2.293 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/3.445, allocations: 20.06 kB / 1.809 GB, free: 2.273 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.37e-05/3.445, allocations: 32 kB / 1.809 GB, free: 2.242 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008418/3.453, allocations: 1.176 MB / 1.81 GB, free: 1.059 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006629/3.46, allocations: 1.088 MB / 1.811 GB, free: 32 kB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008996/3.469, allocations: 4.831 MB / 1.816 GB, free: 10.92 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/3.48, allocations: 435.7 kB / 1.816 GB, free: 10.5 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/3.482, allocations: 216 kB / 1.816 GB, free: 10.29 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01358/3.496, allocations: 3.843 MB / 1.82 GB, free: 6.43 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009061/3.505, allocations: 3.504 MB / 1.824 GB, free: 2.434 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01356/3.519, allocations: 5.347 MB / 1.829 GB, free: 12.77 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.245e-05/3.519, allocations: 8 kB / 1.829 GB, free: 12.77 MB / 1.42 GB Notification: Performance of matching and sorting (n=610) (initialization_lambda0): time 0.02541/3.544, allocations: 6.966 MB / 1.836 GB, free: 5.926 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/3.544, allocations: 16 kB / 1.836 GB, free: 5.91 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.168e-05/3.544, allocations: 32 kB / 1.836 GB, free: 5.879 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008059/3.552, allocations: 1.176 MB / 1.837 GB, free: 4.695 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006252/3.559, allocations: 1.075 MB / 1.838 GB, free: 3.68 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008732/3.567, allocations: 4.837 MB / 1.843 GB, free: 14.57 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/3.578, allocations: 471.8 kB / 1.843 GB, free: 14.11 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/3.58, allocations: 203.9 kB / 1.843 GB, free: 13.91 MB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,booToInt.y,hysRad.y,$PRE.hysRad.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 519 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002688/3.583, allocations: 444.9 kB / 1.844 GB, free: 13.53 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003824/3.587, allocations: 0.6597 MB / 1.844 GB, free: 12.86 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/3.604, allocations: 4.901 MB / 1.849 GB, free: 7.898 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01171/3.616, allocations: 3.843 MB / 1.853 GB, free: 3.98 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/3.616, allocations: 0 / 1.853 GB, free: 3.98 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006339/3.622, allocations: 1.234 MB / 1.854 GB, free: 2.719 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003691/3.626, allocations: 59.98 kB / 1.854 GB, free: 2.66 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007728/3.634, allocations: 335.6 kB / 1.854 GB, free: 2.332 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007607/3.635, allocations: 218.1 kB / 1.855 GB, free: 2.117 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01591/3.651, allocations: 4.669 MB / 1.859 GB, free: 13.44 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01929/3.67, allocations: 6.704 MB / 1.866 GB, free: 6.656 MB / 1.451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005076/3.675, allocations: 1.904 MB / 1.868 GB, free: 4.742 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.01346/3.689, allocations: 4.538 MB / 1.872 GB, free: 248 kB / 1.451 GB Notification: Performance of Backend: time 1.443e-06/3.689, allocations: 0 / 1.872 GB, free: 248 kB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.03981/3.729, allocations: 9.356 MB / 1.881 GB, free: 7.449 MB / 1.467 GB Notification: Performance of SimCode: time 0.0437/3.772, allocations: 15.23 MB / 1.896 GB, free: 8.281 MB / 1.482 GB Notification: Performance of Templates: time 0.2793/4.052, allocations: 161 MB / 2.053 GB, free: 9.113 MB / 1.639 GB make -j1 -f Buildings_latest_Buildings.Examples.SimpleHouse.makefile (rm -f Buildings_latest_Buildings.Examples.SimpleHouse.pipe ; mkfifo Buildings_latest_Buildings.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.SimpleHouse.pipe >> ../files/Buildings_latest_Buildings.Examples.SimpleHouse.sim & ./Buildings_latest_Buildings.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.SimpleHouse.pipe 2>&1)