Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Tutorial.SimpleHouse.SimpleHouse4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T|heaWat.u",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T|heaWat.u",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 110.4 kB / 16.41 MB, free: 6.469 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.001188/0.001188, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8236, allocations: 159.9 MB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4): time 0.2488/1.072, allocations: 231 MB / 1.452 GB, free: 5.766 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04135/1.114, allocations: 26.13 MB / 1.478 GB, free: 11.56 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004699/1.119, allocations: 123.4 kB / 1.478 GB, free: 11.44 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006802/1.125, allocations: 2.425 MB / 1.48 GB, free: 9.004 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/1.137, allocations: 4.484 MB / 1.484 GB, free: 4.508 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007795/1.145, allocations: 3.218 MB / 1.488 GB, free: 1.309 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02294/1.168, allocations: 17.9 MB / 1.505 GB, free: 15.37 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007779/1.175, allocations: 5.271 MB / 1.51 GB, free: 10.01 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/1.186, allocations: 4.414 MB / 1.514 GB, free: 5.605 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007142/1.193, allocations: 3.681 MB / 1.518 GB, free: 1.914 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002014/1.195, allocations: 0.543 MB / 1.519 GB, free: 1.371 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009766/1.205, allocations: 3.966 MB / 1.522 GB, free: 13.39 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002773/1.208, allocations: 1.663 MB / 1.524 GB, free: 11.73 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.005916/1.214, allocations: 3.025 MB / 1.527 GB, free: 8.691 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.23, allocations: 9.697 MB / 1.537 GB, free: 14.96 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.23, allocations: 0 / 1.537 GB, free: 14.96 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.493e-06/1.23, allocations: 0 / 1.537 GB, free: 14.96 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002932/1.23, allocations: 0 / 1.537 GB, free: 14.96 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 807 * Number of variables: 807 Notification: Performance of Generate backend data structure: time 0.01643/1.247, allocations: 6.486 MB / 1.543 GB, free: 8.359 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.247, allocations: 15.98 kB / 1.543 GB, free: 8.344 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009507/1.256, allocations: 1.448 MB / 1.544 GB, free: 6.891 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.271, allocations: 5.578 MB / 1.55 GB, free: 1.23 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/1.271, allocations: 250.2 kB / 1.55 GB, free: 0.9844 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/1.273, allocations: 335.9 kB / 1.55 GB, free: 0.6562 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009758/1.282, allocations: 4.35 MB / 1.555 GB, free: 12.11 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.659e-05/1.283, allocations: 19.94 kB / 1.555 GB, free: 12.09 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003935/1.283, allocations: 136 kB / 1.555 GB, free: 11.96 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.283, allocations: 125.9 kB / 1.555 GB, free: 11.83 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/1.29, allocations: 3.938 MB / 1.559 GB, free: 7.883 MB / 1.279 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.8425/2.133, allocations: 19.13 MB / 1.577 GB, free: 71.91 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/2.138, allocations: 2.833 MB / 1.58 GB, free: 71.87 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/2.141, allocations: 1.589 MB / 1.582 GB, free: 71.85 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/2.158, allocations: 6.651 MB / 1.588 GB, free: 70.87 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/2.161, allocations: 1.627 MB / 1.59 GB, free: 70.75 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002246/2.163, allocations: 192.7 kB / 1.59 GB, free: 70.75 MB / 1.279 GB Notification: Performance of pre-optimization done (n=205): time 8.195e-06/2.163, allocations: 0.75 kB / 1.59 GB, free: 70.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=205): time 0.009161/2.172, allocations: 4.403 MB / 1.594 GB, free: 69.98 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/2.172, allocations: 283.4 kB / 1.594 GB, free: 69.67 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/2.179, allocations: 4.04 MB / 1.598 GB, free: 69.32 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005257/2.18, allocations: 72.48 kB / 1.598 GB, free: 69.29 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/2.182, allocations: 2.119 MB / 1.601 GB, free: 68.76 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009468/2.183, allocations: 0.7323 MB / 1.601 GB, free: 68.38 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/2.185, allocations: 0.7089 MB / 1.602 GB, free: 68.32 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/2.185, allocations: 305.8 kB / 1.602 GB, free: 68.02 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004736/2.19, allocations: 1.744 MB / 1.604 GB, free: 68 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/2.195, allocations: 2.536 MB / 1.606 GB, free: 67.16 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008125/2.203, allocations: 4.021 MB / 1.61 GB, free: 66.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/2.203, allocations: 8.781 kB / 1.61 GB, free: 66.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01632/2.22, allocations: 5.234 MB / 1.615 GB, free: 66.03 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/2.22, allocations: 13.25 kB / 1.615 GB, free: 66.03 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/2.22, allocations: 21.94 kB / 1.616 GB, free: 66.03 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009625/2.229, allocations: 1.091 MB / 1.617 GB, free: 66.02 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/2.235, allocations: 0.7311 MB / 1.617 GB, free: 66.02 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/2.245, allocations: 3.764 MB / 1.621 GB, free: 63.54 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006805/2.252, allocations: 267.7 kB / 1.621 GB, free: 63.52 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007052/2.253, allocations: 169 kB / 1.621 GB, free: 63.52 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005884/2.259, allocations: 2.725 MB / 1.624 GB, free: 63.43 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003145/2.262, allocations: 2.402 MB / 1.626 GB, free: 62.59 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005133/2.267, allocations: 3.756 MB / 1.63 GB, free: 61.83 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.327e-05/2.267, allocations: 5 kB / 1.63 GB, free: 61.83 MB / 1.279 GB Notification: Performance of matching and sorting (n=416) (initialization_lambda0): time 0.01062/2.277, allocations: 4.964 MB / 1.635 GB, free: 61.45 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/2.277, allocations: 15.47 kB / 1.635 GB, free: 61.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/2.278, allocations: 19.91 kB / 1.635 GB, free: 61.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006746/2.284, allocations: 1.098 MB / 1.636 GB, free: 61.38 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/2.287, allocations: 0.7189 MB / 1.637 GB, free: 61.37 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/2.293, allocations: 3.082 MB / 1.64 GB, free: 59.43 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/2.298, allocations: 253.7 kB / 1.64 GB, free: 59.42 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/2.299, allocations: 157.8 kB / 1.64 GB, free: 59.42 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (369): * Single equations (assignments): 364 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009806/2.299, allocations: 373 kB / 1.64 GB, free: 59.23 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/2.301, allocations: 439.8 kB / 1.641 GB, free: 59 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/2.307, allocations: 3.415 MB / 1.644 GB, free: 58.74 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004137/2.311, allocations: 2.509 MB / 1.647 GB, free: 58.57 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/2.311, allocations: 0 / 1.647 GB, free: 58.57 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/2.313, allocations: 0.8296 MB / 1.647 GB, free: 58.24 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005955/2.313, allocations: 48.05 kB / 1.648 GB, free: 58.24 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/2.316, allocations: 175.6 kB / 1.648 GB, free: 58.23 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/2.316, allocations: 156.4 kB / 1.648 GB, free: 58.22 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006106/2.322, allocations: 3.215 MB / 1.651 GB, free: 57.98 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006896/2.329, allocations: 4.489 MB / 1.655 GB, free: 57.41 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001784/2.331, allocations: 1.246 MB / 1.657 GB, free: 57.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004429/2.335, allocations: 2.723 MB / 1.659 GB, free: 57.22 MB / 1.279 GB Notification: Performance of Backend: time 7.01e-07/2.335, allocations: 4 kB / 1.659 GB, free: 57.21 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02111/2.356, allocations: 7.182 MB / 1.666 GB, free: 56.61 MB / 1.279 GB Notification: Performance of SimCode: time 0.01826/2.375, allocations: 10.35 MB / 1.676 GB, free: 52.23 MB / 1.279 GB Notification: Performance of Templates: time 0.1582/2.533, allocations: 107.7 MB / 1.782 GB, free: 13.35 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse4.pipe 2>&1)