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.001682/0.001682, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001877/0.001877, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 293.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 178.6 MB / 0.507 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 93.81 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1686, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006927/0.1756, allocations: 5.211 MB / 0.6981 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4466/0.6222, allocations: 148.4 MB / 0.843 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008405/0.6231, allocations: 20.66 kB / 0.843 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.6237, allocations: 161.1 kB / 0.8432 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.6253, allocations: 0.4976 MB / 0.8437 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.6271, allocations: 0.7561 MB / 0.8444 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.6285, allocations: 1.446 MB / 0.8458 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008425/0.6294, allocations: 0.6101 MB / 0.8464 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.63, allocations: 0.4934 MB / 0.8469 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.6305, allocations: 0.5351 MB / 0.8474 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.6306, allocations: 118 kB / 0.8475 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.6314, allocations: 466.1 kB / 0.848 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.6316, allocations: 303.7 kB / 0.8483 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.6321, allocations: 0.6011 MB / 0.8488 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.6337, allocations: 1.644 MB / 0.8504 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6337, allocations: 0 / 0.8504 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6337, allocations: 0 / 0.8504 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.6338, allocations: 0 / 0.8504 GB, free: 4.395 MB / 0.5762 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.002409/0.6362, allocations: 1.493 MB / 0.8519 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.6362, allocations: 6.844 kB / 0.8519 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.6371, allocations: 192.4 kB / 0.8521 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.6381, allocations: 0.7685 MB / 0.8528 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.6381, allocations: 65.06 kB / 0.8529 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6383, allocations: 90.14 kB / 0.853 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.6398, allocations: 0.9501 MB / 0.8539 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.6398, allocations: 3.938 kB / 0.8539 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.6399, allocations: 37.81 kB / 0.854 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.6399, allocations: 20.72 kB / 0.854 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.6416, allocations: 1.134 MB / 0.8551 GB, free: 1.273 MB / 0.5762 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.003936/0.6456, allocations: 2.825 MB / 0.8578 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.647, allocations: 0.8489 MB / 0.8587 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.6476, allocations: 326.2 kB / 0.859 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.191e-05/0.6477, allocations: 33.39 kB / 0.859 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009104/0.6486, allocations: 0.5055 MB / 0.8595 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.404e-06/0.6486, allocations: 0 / 0.8595 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003072/0.6517, allocations: 1.24 MB / 0.8607 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6518, allocations: 196.4 kB / 0.8609 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.6525, allocations: 0.6536 MB / 0.8616 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.6526, allocations: 42.77 kB / 0.8616 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.6529, allocations: 410.2 kB / 0.862 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.6532, allocations: 276.8 kB / 0.8622 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.6534, allocations: 174.9 kB / 0.8624 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.6536, allocations: 389.1 kB / 0.8628 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.6541, allocations: 282.3 kB / 0.8631 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.6547, allocations: 370.2 kB / 0.8634 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6558, allocations: 0.6319 MB / 0.864 GB, free: 11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6558, allocations: 2.562 kB / 0.864 GB, free: 11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001863/0.6577, allocations: 0.8922 MB / 0.8649 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6577, allocations: 7.562 kB / 0.8649 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6577, allocations: 0 / 0.8649 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.6583, allocations: 75.62 kB / 0.865 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.659, allocations: 178 kB / 0.8651 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.6612, allocations: 1.635 MB / 0.8667 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.6619, allocations: 96.91 kB / 0.8668 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.662, allocations: 39.27 kB / 0.8669 GB, free: 8.781 MB / 0.5919 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.0003677/0.6623, allocations: 278.6 kB / 0.8671 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.6625, allocations: 83.84 kB / 0.8672 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.6648, allocations: 1.102 MB / 0.8683 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.6649, allocations: 8 kB / 0.8683 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.6649, allocations: 0 / 0.8683 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6649, allocations: 3.984 kB / 0.8683 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.666, allocations: 0.9344 MB / 0.8692 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.666, allocations: 0 / 0.8692 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.6666, allocations: 155.8 kB / 0.8694 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.6671, allocations: 76.73 kB / 0.8694 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.6671, allocations: 31.97 kB / 0.8695 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.6691, allocations: 1.646 MB / 0.8711 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6692, allocations: 0 / 0.8711 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.6718, allocations: 1.375 MB / 0.8724 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.6723, allocations: 271.8 kB / 0.8727 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6724, allocations: 27.94 kB / 0.8727 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.6731, allocations: 67.92 kB / 0.8728 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.6732, allocations: 72.89 kB / 0.8728 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.6733, allocations: 36.05 kB / 0.8729 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006276/0.674, allocations: 475 kB / 0.8733 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.674, allocations: 0 / 0.8733 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008575/0.6748, allocations: 335.3 kB / 0.8736 GB, free: 2.133 MB / 0.5919 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.001824/0.6767, allocations: 0.6068 MB / 0.8742 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.6791, allocations: 1.066 MB / 0.8753 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6791, allocations: 3.938 kB / 0.8753 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.68, allocations: 0.5394 MB / 0.8758 GB, free: 64 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6813, allocations: 306.3 kB / 0.8761 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.6847, allocations: 2.288 MB / 0.8783 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.6854, allocations: 1.035 MB / 0.8794 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008047/0.6862, allocations: 270.9 kB / 0.8796 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.6864, allocations: 107.3 kB / 0.8797 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.6865, allocations: 0 / 0.8797 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.02617/0.7126, allocations: 15.33 MB / 0.8947 GB, free: 12.89 MB / 0.6231 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)