Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001435/0.001435, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 299.2 kB / 291.3 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 178.5 MB / 0.5079 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 95.83 kB / 0.6071 GB, free: 9.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1748, allocations: 89.14 MB / 0.6941 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006953/0.1818, allocations: 5.2 MB / 0.6992 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4656/0.6474, allocations: 150.7 MB / 0.8464 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6486, allocations: 16.16 kB / 0.8464 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.6493, allocations: 202.2 kB / 0.8466 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.6513, allocations: 0.564 MB / 0.8471 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.6535, allocations: 0.8378 MB / 0.8479 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.6553, allocations: 1.439 MB / 0.8493 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009885/0.6563, allocations: 0.6101 MB / 0.8499 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009025/0.6572, allocations: 0.4934 MB / 0.8504 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007096/0.6579, allocations: 0.5267 MB / 0.8509 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.6581, allocations: 120.6 kB / 0.8511 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.6591, allocations: 469.4 kB / 0.8515 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.6594, allocations: 302.7 kB / 0.8518 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.66, allocations: 0.5921 MB / 0.8524 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.6621, allocations: 1.645 MB / 0.854 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6621, allocations: 1.375 kB / 0.854 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6621, allocations: 0 / 0.854 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.6621, allocations: 0 / 0.854 GB, free: 3.246 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002757/0.6649, allocations: 1.491 MB / 0.8554 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.6649, allocations: 13.67 kB / 0.8554 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.6659, allocations: 190.7 kB / 0.8556 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6672, allocations: 0.7691 MB / 0.8564 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.6672, allocations: 65.44 kB / 0.8564 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6674, allocations: 85.88 kB / 0.8565 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.6691, allocations: 0.9601 MB / 0.8575 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.6691, allocations: 0 / 0.8575 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.6692, allocations: 39.5 kB / 0.8575 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6692, allocations: 23.16 kB / 0.8575 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.6709, allocations: 1.133 MB / 0.8586 GB, free: 120 kB / 0.6075 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.00428/0.6752, allocations: 2.803 MB / 0.8614 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.6768, allocations: 0.8439 MB / 0.8622 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.6774, allocations: 329.6 kB / 0.8625 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/0.6775, allocations: 36.62 kB / 0.8625 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.6786, allocations: 0.5028 MB / 0.863 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=85): time 2.825e-06/0.6786, allocations: 2.906 kB / 0.863 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85): time 0.003526/0.6821, allocations: 1.239 MB / 0.8642 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.6823, allocations: 200.9 kB / 0.8644 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6833, allocations: 0.6527 MB / 0.8651 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.6834, allocations: 41.7 kB / 0.8651 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.6839, allocations: 416.5 kB / 0.8655 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.6843, allocations: 275.9 kB / 0.8658 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.6846, allocations: 174.5 kB / 0.8659 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.6848, allocations: 386.8 kB / 0.8663 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.6854, allocations: 285.8 kB / 0.8666 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.6861, allocations: 371.7 kB / 0.8669 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6873, allocations: 0.6359 MB / 0.8676 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6874, allocations: 0 / 0.8676 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002236/0.6896, allocations: 0.8838 MB / 0.8684 GB, free: 7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.6896, allocations: 7.984 kB / 0.8684 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6897, allocations: 0 / 0.8684 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/0.6903, allocations: 76.88 kB / 0.8685 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.6911, allocations: 180.3 kB / 0.8687 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.6936, allocations: 1.633 MB / 0.8703 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.6945, allocations: 95.33 kB / 0.8704 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/0.6946, allocations: 39.97 kB / 0.8704 GB, free: 4.832 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005965/0.6952, allocations: 272.5 kB / 0.8707 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6954, allocations: 83.16 kB / 0.8707 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.698, allocations: 1.102 MB / 0.8718 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6981, allocations: 8 kB / 0.8718 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6981, allocations: 1.781 kB / 0.8718 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.6981, allocations: 7.984 kB / 0.8718 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.6994, allocations: 0.9269 MB / 0.8727 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6994, allocations: 3.984 kB / 0.8727 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.7001, allocations: 155.7 kB / 0.8729 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.7005, allocations: 80.72 kB / 0.873 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.7006, allocations: 27.98 kB / 0.873 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.7027, allocations: 1.654 MB / 0.8746 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.7027, allocations: 3.984 kB / 0.8746 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.7056, allocations: 1.363 MB / 0.8759 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.7062, allocations: 275.7 kB / 0.8762 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7064, allocations: 31.88 kB / 0.8762 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.707, allocations: 60 kB / 0.8763 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.7072, allocations: 76.89 kB / 0.8764 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.7073, allocations: 31.98 kB / 0.8764 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006948/0.708, allocations: 475 kB / 0.8768 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4e-07/0.708, allocations: 0 / 0.8768 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001012/0.709, allocations: 335.2 kB / 0.8772 GB, free: 13.66 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.711, allocations: 0.5941 MB / 0.8777 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.7137, allocations: 1.07 MB / 0.8788 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.7137, allocations: 4 kB / 0.8788 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.7147, allocations: 0.5314 MB / 0.8793 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.7161, allocations: 306.4 kB / 0.8796 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.7198, allocations: 1.91 MB / 0.8815 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/0.7206, allocations: 1.043 MB / 0.8825 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.721, allocations: 119.4 kB / 0.8826 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/0.721, allocations: 4 kB / 0.8826 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of Templates: time 0.02854/0.7496, allocations: 19.09 MB / 0.9013 GB, free: 5.203 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)