Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 165.6 kB / 22.46 MB, free: 5.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.304/1.304, allocations: 154.5 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.975e-05/5.313e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.01041/0.01046, allocations: 4.752 MB / 0.6232 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7785/0.789, allocations: 132.8 MB / 0.7528 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.7902, allocations: 24.31 kB / 0.7529 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.7909, allocations: 210.8 kB / 0.7531 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.7931, allocations: 0.5979 MB / 0.7536 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.7956, allocations: 0.8745 MB / 0.7545 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.798, allocations: 1.512 MB / 0.756 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.7989, allocations: 421.1 kB / 0.7564 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.8004, allocations: 0.7577 MB / 0.7571 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.801, allocations: 423.8 kB / 0.7575 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.8012, allocations: 122.5 kB / 0.7576 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.8026, allocations: 0.4951 MB / 0.7581 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.8029, allocations: 311 kB / 0.7584 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.8034, allocations: 414.6 kB / 0.7588 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.8061, allocations: 1.833 MB / 0.7606 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8061, allocations: 0 / 0.7606 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8061, allocations: 0 / 0.7606 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.8061, allocations: 0 / 0.7606 GB, free: 2.508 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.003078/0.8092, allocations: 1.462 MB / 0.762 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8092, allocations: 10.41 kB / 0.762 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.8109, allocations: 236.6 kB / 0.7623 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.8124, allocations: 0.73 MB / 0.763 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.8125, allocations: 67.81 kB / 0.763 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.8126, allocations: 88.41 kB / 0.7631 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.8146, allocations: 1.206 MB / 0.7643 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.8146, allocations: 3.938 kB / 0.7643 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.8147, allocations: 39.84 kB / 0.7643 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.8147, allocations: 22.53 kB / 0.7644 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.8166, allocations: 1.089 MB / 0.7654 GB, free: 15.91 MB / 0.6231 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.005089/0.8217, allocations: 2.171 MB / 0.7675 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.8235, allocations: 0.7973 MB / 0.7683 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.8241, allocations: 301.8 kB / 0.7686 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.938e-05/0.8242, allocations: 26.5 kB / 0.7686 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.8253, allocations: 0.6073 MB / 0.7692 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/0.8253, allocations: 0 / 0.7692 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85): time 0.003686/0.829, allocations: 1.17 MB / 0.7704 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.8291, allocations: 192.8 kB / 0.7706 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.8303, allocations: 0.6274 MB / 0.7712 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.8304, allocations: 42.14 kB / 0.7712 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/0.831, allocations: 432.7 kB / 0.7716 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.8313, allocations: 293.3 kB / 0.7719 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.8317, allocations: 164.4 kB / 0.7721 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003034/0.832, allocations: 392.1 kB / 0.7724 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.8326, allocations: 280.5 kB / 0.7727 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008738/0.8335, allocations: 0.4933 MB / 0.7732 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.8348, allocations: 0.6347 MB / 0.7738 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8348, allocations: 0 / 0.7738 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002494/0.8373, allocations: 0.8851 MB / 0.7747 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.8373, allocations: 6.188 kB / 0.7747 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8373, allocations: 0.75 kB / 0.7747 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/0.838, allocations: 85.98 kB / 0.7748 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.8388, allocations: 182.2 kB / 0.7749 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.8414, allocations: 1.493 MB / 0.7764 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.8425, allocations: 87.92 kB / 0.7765 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.8426, allocations: 40.44 kB / 0.7765 GB, free: 8.176 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.0007069/0.8433, allocations: 275.5 kB / 0.7768 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.8435, allocations: 93.89 kB / 0.7769 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.8461, allocations: 1.08 MB / 0.7779 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.8461, allocations: 10.62 kB / 0.7779 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8461, allocations: 4.938 kB / 0.7779 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.8461, allocations: 7.969 kB / 0.7779 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.8473, allocations: 0.6613 MB / 0.7786 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8473, allocations: 0 / 0.7786 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.848, allocations: 158.3 kB / 0.7787 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.8484, allocations: 69.69 kB / 0.7788 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.8485, allocations: 24.33 kB / 0.7788 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.8506, allocations: 1.531 MB / 0.7803 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8506, allocations: 4 kB / 0.7803 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.8537, allocations: 1.373 MB / 0.7817 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/0.8543, allocations: 201.7 kB / 0.7819 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.8545, allocations: 17.19 kB / 0.7819 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.8551, allocations: 66.53 kB / 0.7819 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.8554, allocations: 75.09 kB / 0.782 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.8554, allocations: 35.92 kB / 0.782 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000704/0.8562, allocations: 455.2 kB / 0.7825 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8562, allocations: 64 / 0.7825 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001442/0.8576, allocations: 353.3 kB / 0.7828 GB, free: 3.945 MB / 0.6231 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.002245/0.8598, allocations: 0.657 MB / 0.7835 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.8619, allocations: 0.8282 MB / 0.7843 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8619, allocations: 0 / 0.7843 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/0.8629, allocations: 0.4936 MB / 0.7847 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.8644, allocations: 302.8 kB / 0.785 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.8683, allocations: 1.822 MB / 0.7868 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.8689, allocations: 463.3 kB / 0.7873 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001013/0.8699, allocations: 265.9 kB / 0.7875 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.8702, allocations: 115.8 kB / 0.7876 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of SimCode: time 1.603e-06/0.8702, allocations: 0 / 0.7876 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of Templates: time 0.03131/0.9015, allocations: 15.49 MB / 0.8028 GB, free: 7.648 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.031596809625626] Failed to read output from testmodel.py, exit status != 0: 0.9129126109182835 0.927781997 0.11825619600000001 Calling exit ...