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.798/0.798, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.00111/0.00111, allocations: 183.8 kB / 182.2 MB, free: 9.457 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.459/1.459, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008351/0.0008351, allocations: 80.06 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 280.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.718e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4627, allocations: 82.77 MB / 0.7573 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.391/5.854, allocations: 2.2 GB / 2.958 GB, free: 135.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/5.854, allocations: 96.58 kB / 2.958 GB, free: 135.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 15.26/21.11, allocations: 3.717 GB / 6.675 GB, free: 53.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/21.11, allocations: 1.312 kB / 6.675 GB, free: 53.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001261/21.11, allocations: 178.7 kB / 6.675 GB, free: 53.8 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.02461/21.14, allocations: 6.686 MB / 6.682 GB, free: 50.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/21.14, allocations: 10 kB / 6.682 GB, free: 50.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/21.15, allocations: 2.615 MB / 6.684 GB, free: 50.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02976/21.18, allocations: 7.72 MB / 6.692 GB, free: 49.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/21.18, allocations: 154.9 kB / 6.692 GB, free: 49.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/21.19, allocations: 289.1 kB / 6.692 GB, free: 49.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01471/21.2, allocations: 4.803 MB / 6.697 GB, free: 49.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/21.22, allocations: 5.135 MB / 6.702 GB, free: 48.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/21.22, allocations: 14.88 kB / 6.702 GB, free: 48.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002258/21.22, allocations: 13.02 kB / 6.702 GB, free: 48.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/21.23, allocations: 196.8 kB / 6.702 GB, free: 48.56 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.05936/21.28, allocations: 25.93 MB / 6.727 GB, free: 36.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008658/21.29, allocations: 3.954 MB / 6.731 GB, free: 36.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004735/21.3, allocations: 2.214 MB / 6.733 GB, free: 36.18 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.02582/21.32, allocations: 8.443 MB / 6.742 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003494/21.33, allocations: 1.986 MB / 6.744 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004343/21.33, allocations: 380.5 kB / 6.744 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=298): time 7.975e-06/21.33, allocations: 0 / 6.744 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=298): time 0.01075/21.34, allocations: 4.006 MB / 6.748 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/21.34, allocations: 371.5 kB / 6.748 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/21.35, allocations: 4.066 MB / 6.752 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/21.35, allocations: 36.23 kB / 6.752 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003242/21.36, allocations: 2.961 MB / 6.755 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/21.36, allocations: 0.9738 MB / 6.756 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/21.36, allocations: 0 / 6.756 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002059/21.36, allocations: 451.2 kB / 6.757 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/21.36, allocations: 1.507 MB / 6.758 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/21.36, allocations: 2.697 MB / 6.761 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/21.37, allocations: 2.05 MB / 6.763 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/21.37, allocations: 10.72 kB / 6.763 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=469) (initialization): time 0.01393/21.38, allocations: 5.098 MB / 6.768 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.004679/21.39, allocations: 13.33 MB / 6.781 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/21.39, allocations: 27.5 kB / 6.781 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/21.39, allocations: 0.6203 MB / 6.781 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/21.39, allocations: 0.8833 MB / 6.782 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/21.4, allocations: 5.519 MB / 6.788 GB, free: 27.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007754/21.41, allocations: 414.4 kB / 6.788 GB, free: 27.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/21.41, allocations: 195 kB / 6.788 GB, free: 27.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/21.41, allocations: 5.25 kB / 6.788 GB, free: 27.11 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/21.42, allocations: 4.339 MB / 6.792 GB, free: 26.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/21.42, allocations: 29.75 kB / 6.792 GB, free: 26.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/21.42, allocations: 0.6359 MB / 6.793 GB, free: 26.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/21.43, allocations: 0.8604 MB / 6.794 GB, free: 26.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/21.43, allocations: 5.525 MB / 6.799 GB, free: 22.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007622/21.44, allocations: 380.5 kB / 6.8 GB, free: 22.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/21.44, allocations: 185.4 kB / 6.8 GB, free: 22.89 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.001586/21.45, allocations: 219.5 kB / 6.8 GB, free: 22.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002253/21.45, allocations: 0.5439 MB / 6.801 GB, free: 22.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/21.46, allocations: 4.482 MB / 6.805 GB, free: 22.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/21.46, allocations: 34.06 kB / 6.805 GB, free: 22.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/21.46, allocations: 1.906 kB / 6.805 GB, free: 22.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006794/21.46, allocations: 3.487 MB / 6.808 GB, free: 21.8 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.0273/21.49, allocations: 9.312 MB / 6.817 GB, free: 21.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/21.49, allocations: 0 / 6.817 GB, free: 21.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/21.5, allocations: 0.6262 MB / 6.818 GB, free: 20.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/21.5, allocations: 459.4 kB / 6.818 GB, free: 20.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004981/21.5, allocations: 64.3 kB / 6.819 GB, free: 20.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/21.51, allocations: 11.28 MB / 6.83 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/21.51, allocations: 3.906 kB / 6.83 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/21.52, allocations: 6.763 MB / 6.836 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004643/21.53, allocations: 1.142 MB / 6.837 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/21.53, allocations: 18.08 kB / 6.837 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006255/21.53, allocations: 352.3 kB / 6.838 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007127/21.54, allocations: 229.7 kB / 6.838 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005172/21.54, allocations: 147.2 kB / 6.838 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006765/21.54, allocations: 3.042 MB / 6.841 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/21.54, allocations: 0 / 6.841 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02375/21.57, allocations: 3.741 MB / 6.845 GB, free: 4.332 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.01317/21.58, allocations: 7.258 MB / 6.852 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01468/21.59, allocations: 6.652 MB / 6.858 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.333e-05/21.59, allocations: 4.781 kB / 6.858 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/21.6, allocations: 2.573 MB / 6.861 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/21.62, allocations: 2.395 MB / 6.863 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.789/22.41, allocations: 9.709 MB / 6.873 GB, free: 90.81 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00526/22.41, allocations: 3.796 MB / 6.876 GB, free: 89.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01446/22.43, allocations: 2.771 MB / 6.879 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/22.43, allocations: 374.2 kB / 6.879 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/22.43, allocations: 0 / 6.879 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.2378/22.66, allocations: 137.9 MB / 7.014 GB, free: 82.6 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)