Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8813/0.8813, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 184.9 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001101, allocations: 88.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 269.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.581e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4458, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.636/6.082, allocations: 2.2 GB / 2.958 GB, free: 135 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/6.082, allocations: 95.83 kB / 2.958 GB, free: 134.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 15.55/21.63, allocations: 3.717 GB / 6.675 GB, free: 53.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/21.63, allocations: 0 / 6.675 GB, free: 53.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001249/21.63, allocations: 175.7 kB / 6.675 GB, free: 53.96 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.02354/21.65, allocations: 6.694 MB / 6.682 GB, free: 50.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/21.65, allocations: 10.69 kB / 6.682 GB, free: 50.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/21.67, allocations: 2.614 MB / 6.684 GB, free: 50.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02701/21.7, allocations: 7.716 MB / 6.692 GB, free: 49.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004749/21.7, allocations: 153 kB / 6.692 GB, free: 49.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/21.7, allocations: 290.4 kB / 6.692 GB, free: 49.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01391/21.71, allocations: 4.802 MB / 6.697 GB, free: 49.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/21.73, allocations: 5.133 MB / 6.702 GB, free: 48.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003526/21.73, allocations: 12.66 kB / 6.702 GB, free: 48.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/21.74, allocations: 8.781 kB / 6.702 GB, free: 48.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/21.74, allocations: 199.8 kB / 6.702 GB, free: 48.71 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.05986/21.8, allocations: 25.93 MB / 6.727 GB, free: 36.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009173/21.81, allocations: 3.961 MB / 6.731 GB, free: 36.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004851/21.81, allocations: 2.216 MB / 6.733 GB, free: 36.32 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.02533/21.84, allocations: 8.438 MB / 6.742 GB, free: 34.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003884/21.84, allocations: 1.991 MB / 6.744 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004732/21.84, allocations: 378.3 kB / 6.744 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=298): time 1.906e-05/21.84, allocations: 0.6562 kB / 6.744 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=298): time 0.01279/21.86, allocations: 3.999 MB / 6.748 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/21.86, allocations: 368.2 kB / 6.748 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/21.87, allocations: 4.071 MB / 6.752 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/21.87, allocations: 34.86 kB / 6.752 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00431/21.88, allocations: 2.959 MB / 6.755 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001842/21.88, allocations: 0.9798 MB / 6.756 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/21.88, allocations: 0 / 6.756 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003822/21.88, allocations: 451.4 kB / 6.757 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/21.88, allocations: 1.502 MB / 6.758 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004469/21.89, allocations: 2.699 MB / 6.761 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/21.89, allocations: 2.05 MB / 6.763 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.63e-05/21.89, allocations: 10.84 kB / 6.763 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=469) (initialization): time 0.01562/21.91, allocations: 5.098 MB / 6.768 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003489/21.91, allocations: 13.33 MB / 6.781 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/21.91, allocations: 26.09 kB / 6.781 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/21.91, allocations: 0.614 MB / 6.781 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005127/21.92, allocations: 0.8868 MB / 6.782 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/21.93, allocations: 5.517 MB / 6.788 GB, free: 27.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008506/21.94, allocations: 415.2 kB / 6.788 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/21.94, allocations: 196.3 kB / 6.788 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/21.94, allocations: 6.875 kB / 6.788 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01484/21.95, allocations: 4.33 MB / 6.792 GB, free: 27.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/21.95, allocations: 29.66 kB / 6.792 GB, free: 27.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/21.96, allocations: 0.6403 MB / 6.793 GB, free: 27.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/21.96, allocations: 0.8665 MB / 6.794 GB, free: 27.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007856/21.97, allocations: 5.524 MB / 6.799 GB, free: 23.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008339/21.98, allocations: 375.6 kB / 6.8 GB, free: 23.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/21.98, allocations: 184.8 kB / 6.8 GB, free: 23.04 MB / 0.8542 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (441): * Single equations (assignments): 434 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002447/21.98, allocations: 218 kB / 6.8 GB, free: 22.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002846/21.98, allocations: 0.5454 MB / 6.801 GB, free: 22.63 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/22, allocations: 4.487 MB / 6.805 GB, free: 22.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/22, allocations: 30.97 kB / 6.805 GB, free: 22.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/22, allocations: 0 / 6.805 GB, free: 22.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008013/22.01, allocations: 3.488 MB / 6.808 GB, free: 21.95 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03611/22.04, allocations: 9.309 MB / 6.817 GB, free: 21.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/22.04, allocations: 3.812 kB / 6.817 GB, free: 21.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/22.04, allocations: 0.6283 MB / 6.818 GB, free: 21.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/22.05, allocations: 463.6 kB / 6.818 GB, free: 20.87 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008186/22.05, allocations: 55.36 kB / 6.819 GB, free: 20.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/22.06, allocations: 11.28 MB / 6.83 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/22.06, allocations: 9.625 kB / 6.83 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/22.07, allocations: 6.756 MB / 6.836 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005431/22.08, allocations: 1.137 MB / 6.837 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003263/22.08, allocations: 14.25 kB / 6.837 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006954/22.09, allocations: 350.9 kB / 6.838 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008649/22.09, allocations: 237.2 kB / 6.838 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007693/22.09, allocations: 143.2 kB / 6.838 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.008076/22.1, allocations: 3.045 MB / 6.841 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.2e-07/22.1, allocations: 3.938 kB / 6.841 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0218/22.12, allocations: 3.744 MB / 6.845 GB, free: 4.266 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.s[1],vavDam.filter.s[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01482/22.14, allocations: 7.257 MB / 6.852 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01793/22.16, allocations: 6.658 MB / 6.858 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.58e-05/22.16, allocations: 4.781 kB / 6.858 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006255/22.16, allocations: 2.576 MB / 6.861 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01672/22.18, allocations: 2.383 MB / 6.863 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7944/22.97, allocations: 9.926 MB / 6.873 GB, free: 90.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005693/22.98, allocations: 3.793 MB / 6.876 GB, free: 89.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0144/22.99, allocations: 2.772 MB / 6.879 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/22.99, allocations: 376.8 kB / 6.88 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of SimCode: time 1.372e-06/22.99, allocations: 0 / 6.88 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.2311/23.23, allocations: 137.9 MB / 7.014 GB, free: 82.27 MB / 0.8698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)