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.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001402/0.001402, allocations: 190.7 kB / 16.14 MB, free: 6.637 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002579, allocations: 293.8 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 98.33 kB / 0.6057 GB, free: 25.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1519, allocations: 89.15 MB / 0.6928 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.4365/0.5884, allocations: 163.7 MB / 0.8527 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.5996, allocations: 7.822 MB / 0.8603 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.6006, allocations: 31.34 kB / 0.8603 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009437/0.6016, allocations: 328.1 kB / 0.8607 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.6044, allocations: 1.188 MB / 0.8618 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.6069, allocations: 1.032 MB / 0.8628 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002721/0.6096, allocations: 2.544 MB / 0.8653 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.6111, allocations: 1.072 MB / 0.8664 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.6121, allocations: 0.6992 MB / 0.867 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.6134, allocations: 0.7677 MB / 0.8678 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.6135, allocations: 72.34 kB / 0.8679 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.6155, allocations: 1.141 MB / 0.869 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.6159, allocations: 354.4 kB / 0.8693 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.6166, allocations: 0.7039 MB / 0.87 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.6191, allocations: 2.34 MB / 0.8723 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6191, allocations: 0 / 0.8723 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.52e-07/0.6191, allocations: 4 kB / 0.8723 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.6191, allocations: 0 / 0.8723 GB, free: 3.047 MB / 0.5919 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.003153/0.6223, allocations: 1.868 MB / 0.8741 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6223, allocations: 14.09 kB / 0.8741 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.6241, allocations: 327.3 kB / 0.8744 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.6256, allocations: 0.9803 MB / 0.8754 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.6256, allocations: 79.58 kB / 0.8755 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6258, allocations: 116.8 kB / 0.8756 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.6277, allocations: 1.167 MB / 0.8767 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.6277, allocations: 0 / 0.8767 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6278, allocations: 53.44 kB / 0.8768 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.6279, allocations: 38.12 kB / 0.8768 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.6301, allocations: 1.316 MB / 0.8781 GB, free: 14.32 MB / 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.00553/0.6356, allocations: 3.83 MB / 0.8818 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.6374, allocations: 1.009 MB / 0.8828 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.6381, allocations: 396.3 kB / 0.8832 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.6382, allocations: 37.02 kB / 0.8832 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.6392, allocations: 0.5826 MB / 0.8838 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 2.354e-06/0.6392, allocations: 0 / 0.8838 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.003655/0.6429, allocations: 1.439 MB / 0.8852 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.643, allocations: 196.9 kB / 0.8854 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6441, allocations: 0.8337 MB / 0.8862 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.6442, allocations: 49.7 kB / 0.8863 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.6446, allocations: 0.5197 MB / 0.8868 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.645, allocations: 343.1 kB / 0.8871 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.6453, allocations: 206.4 kB / 0.8873 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6454, allocations: 341.9 kB / 0.8876 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.6461, allocations: 330.7 kB / 0.8879 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.647, allocations: 488.1 kB / 0.8884 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6485, allocations: 0.7932 MB / 0.8892 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6485, allocations: 0 / 0.8892 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002427/0.6509, allocations: 1.083 MB / 0.8902 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.651, allocations: 8 kB / 0.8902 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.651, allocations: 4 kB / 0.8902 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.6516, allocations: 84.89 kB / 0.8903 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.6524, allocations: 219.8 kB / 0.8905 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6547, allocations: 1.522 MB / 0.892 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.6557, allocations: 115.2 kB / 0.8921 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/0.6558, allocations: 55.83 kB / 0.8922 GB, free: 15.32 MB / 0.6231 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.0005733/0.6564, allocations: 324.6 kB / 0.8925 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.6566, allocations: 118.6 kB / 0.8926 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.6595, allocations: 1.24 MB / 0.8938 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6595, allocations: 12 kB / 0.8938 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6595, allocations: 0 / 0.8938 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6595, allocations: 7.969 kB / 0.8938 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.6611, allocations: 1.169 MB / 0.895 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.6611, allocations: 3.984 kB / 0.895 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.662, allocations: 211.7 kB / 0.8952 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/0.6626, allocations: 76.78 kB / 0.8952 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.6627, allocations: 47.91 kB / 0.8953 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.6647, allocations: 1.532 MB / 0.8968 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6648, allocations: 4.031 kB / 0.8968 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.668, allocations: 1.578 MB / 0.8983 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/0.6685, allocations: 319.4 kB / 0.8986 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.6687, allocations: 24 kB / 0.8987 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/0.6695, allocations: 84.52 kB / 0.8987 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.6697, allocations: 80.88 kB / 0.8988 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.6698, allocations: 43.92 kB / 0.8989 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008151/0.6706, allocations: 0.5819 MB / 0.8994 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6706, allocations: 0 / 0.8994 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001054/0.6717, allocations: 431 kB / 0.8998 GB, free: 7.199 MB / 0.6231 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.00193/0.6736, allocations: 0.6246 MB / 0.9005 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002084/0.6757, allocations: 0.9965 MB / 0.9014 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6757, allocations: 0 / 0.9014 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6768, allocations: 0.5978 MB / 0.902 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.6787, allocations: 459.6 kB / 0.9024 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.6833, allocations: 2.995 MB / 0.9054 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/0.6842, allocations: 1.154 MB / 0.9065 GB, free: 496 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001115/0.6853, allocations: 321.2 kB / 0.9068 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.6856, allocations: 131.4 kB / 0.9069 GB, free: 40 kB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.6856, allocations: 3.938 kB / 0.9069 GB, free: 36 kB / 0.6231 GB Notification: Performance of Templates: time 0.03464/0.7203, allocations: 19.96 MB / 0.9264 GB, free: 12.33 MB / 0.6544 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)