Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001442/0.001442, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 294.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.152/1.152, allocations: 178.5 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 99.83 kB / 0.6071 GB, free: 9.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1798, allocations: 89.14 MB / 0.6941 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.4968/0.6766, allocations: 166 MB / 0.8563 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.6897, allocations: 7.798 MB / 0.8639 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.6914, allocations: 34.75 kB / 0.8639 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6926, allocations: 397.6 kB / 0.8643 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.6962, allocations: 1.321 MB / 0.8656 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.699, allocations: 1.165 MB / 0.8668 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.7016, allocations: 2.339 MB / 0.869 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.7031, allocations: 1.19 MB / 0.8702 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.7044, allocations: 0.8105 MB / 0.871 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.7064, allocations: 0.7885 MB / 0.8718 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.7068, allocations: 152 kB / 0.8719 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.7101, allocations: 1.092 MB / 0.873 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.7106, allocations: 434.6 kB / 0.8734 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.7117, allocations: 0.7814 MB / 0.8741 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.7156, allocations: 2.356 MB / 0.8764 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7156, allocations: 0 / 0.8764 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7156, allocations: 0 / 0.8764 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.7157, allocations: 0 / 0.8764 GB, free: 15.41 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003683/0.7194, allocations: 1.883 MB / 0.8783 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7194, allocations: 8.031 kB / 0.8783 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.7214, allocations: 337.7 kB / 0.8786 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.723, allocations: 0.9679 MB / 0.8796 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.7231, allocations: 86.81 kB / 0.8796 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.7233, allocations: 111.9 kB / 0.8798 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.7254, allocations: 1.172 MB / 0.8809 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.7255, allocations: 4 kB / 0.8809 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.7256, allocations: 48 kB / 0.8809 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.7256, allocations: 42.11 kB / 0.881 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.7279, allocations: 1.308 MB / 0.8823 GB, free: 9.273 MB / 0.6387 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.006167/0.7341, allocations: 3.838 MB / 0.886 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.736, allocations: 0.9931 MB / 0.887 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.7367, allocations: 407.6 kB / 0.8874 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.938e-05/0.7368, allocations: 33.03 kB / 0.8874 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.738, allocations: 0.5942 MB / 0.888 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=102): time 2.564e-06/0.738, allocations: 0 / 0.888 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.003914/0.7419, allocations: 1.442 MB / 0.8894 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7421, allocations: 192.9 kB / 0.8896 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.7434, allocations: 0.8376 MB / 0.8904 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/0.7435, allocations: 45.7 kB / 0.8904 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/0.744, allocations: 0.5236 MB / 0.8909 GB, free: 36 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.7445, allocations: 335.1 kB / 0.8913 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.7448, allocations: 202.4 kB / 0.8915 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7449, allocations: 345.9 kB / 0.8918 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.7456, allocations: 338.8 kB / 0.8921 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.7464, allocations: 472.2 kB / 0.8926 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.7479, allocations: 0.801 MB / 0.8933 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7479, allocations: 4 kB / 0.8933 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002451/0.7504, allocations: 1.079 MB / 0.8944 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7504, allocations: 4.625 kB / 0.8944 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7504, allocations: 4 kB / 0.8944 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.7511, allocations: 81 kB / 0.8945 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.7519, allocations: 219.6 kB / 0.8947 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.7544, allocations: 1.637 MB / 0.8963 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.7554, allocations: 111.2 kB / 0.8964 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.7555, allocations: 41.86 kB / 0.8964 GB, free: 10.18 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006074/0.7562, allocations: 331.1 kB / 0.8968 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.7564, allocations: 114.6 kB / 0.8969 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.7592, allocations: 1.242 MB / 0.8981 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.7592, allocations: 12 kB / 0.8981 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7592, allocations: 0 / 0.8981 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.7592, allocations: 7.969 kB / 0.8981 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.7609, allocations: 1.17 MB / 0.8992 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.761, allocations: 0.6875 kB / 0.8992 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.7618, allocations: 203.7 kB / 0.8994 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.7623, allocations: 76.78 kB / 0.8995 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.7624, allocations: 27.98 kB / 0.8995 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.7645, allocations: 1.658 MB / 0.9012 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7645, allocations: 7.875 kB / 0.9012 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.7676, allocations: 1.57 MB / 0.9027 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.7682, allocations: 323.3 kB / 0.903 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.7684, allocations: 31.84 kB / 0.903 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.7692, allocations: 70.55 kB / 0.9031 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.7694, allocations: 81.11 kB / 0.9032 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/0.7695, allocations: 39.98 kB / 0.9032 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008574/0.7703, allocations: 0.5819 MB / 0.9038 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7703, allocations: 0 / 0.9038 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00115/0.7715, allocations: 431 kB / 0.9042 GB, free: 1.969 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.001905/0.7734, allocations: 0.6222 MB / 0.9048 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.7765, allocations: 1.269 MB / 0.906 GB, free: 256 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7766, allocations: 3.938 kB / 0.906 GB, free: 252 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.7777, allocations: 0.6055 MB / 0.9066 GB, free: 15.63 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.7798, allocations: 500 kB / 0.9071 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.7841, allocations: 2.518 MB / 0.9096 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.785, allocations: 1.158 MB / 0.9107 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.7854, allocations: 135.4 kB / 0.9108 GB, free: 11.3 MB / 0.67 GB Notification: Performance of SimCode: time 6.82e-07/0.7854, allocations: 0 / 0.9108 GB, free: 11.3 MB / 0.67 GB Notification: Performance of Templates: time 0.03499/0.8204, allocations: 24.61 MB / 0.9349 GB, free: 2.801 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)