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: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8122/0.8122, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001098/0.001097, allocations: 176.9 kB / 182.2 MB, free: 9.453 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.549/1.549, 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.001043/0.001043, allocations: 95.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.001896/0.001897, allocations: 282.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.41e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4923, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.595/6.088, allocations: 2.2 GB / 2.958 GB, free: 134.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/6.088, allocations: 87.95 kB / 2.958 GB, free: 134.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 15.07/21.15, allocations: 3.717 GB / 6.675 GB, free: 54.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.354e-06/21.15, allocations: 1.594 kB / 6.675 GB, free: 54.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001278/21.16, allocations: 176.5 kB / 6.675 GB, free: 54.38 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.02344/21.18, allocations: 6.694 MB / 6.682 GB, free: 51.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/21.18, allocations: 12.03 kB / 6.682 GB, free: 51.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/21.2, allocations: 2.61 MB / 6.684 GB, free: 50.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02802/21.22, allocations: 7.723 MB / 6.692 GB, free: 49.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/21.23, allocations: 155.1 kB / 6.692 GB, free: 49.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/21.23, allocations: 290.4 kB / 6.692 GB, free: 49.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01424/21.24, allocations: 4.799 MB / 6.697 GB, free: 49.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/21.26, allocations: 5.13 MB / 6.702 GB, free: 49.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/21.26, allocations: 22.88 kB / 6.702 GB, free: 49.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/21.26, allocations: 8.406 kB / 6.702 GB, free: 49.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/21.26, allocations: 199.6 kB / 6.702 GB, free: 49.13 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.05653/21.32, allocations: 25.93 MB / 6.727 GB, free: 36.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008186/21.33, allocations: 3.955 MB / 6.731 GB, free: 36.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004945/21.33, allocations: 2.212 MB / 6.733 GB, free: 36.74 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.02449/21.36, allocations: 8.443 MB / 6.742 GB, free: 35.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003899/21.36, allocations: 1.988 MB / 6.743 GB, free: 34.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004357/21.36, allocations: 379.9 kB / 6.744 GB, free: 34.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=298): time 1.13e-05/21.36, allocations: 3.938 kB / 6.744 GB, free: 34.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=298): time 0.01273/21.38, allocations: 4.002 MB / 6.748 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/21.38, allocations: 368.5 kB / 6.748 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/21.39, allocations: 4.07 MB / 6.752 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001371/21.39, allocations: 33.67 kB / 6.752 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004958/21.4, allocations: 2.954 MB / 6.755 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/21.4, allocations: 0.9778 MB / 6.756 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/21.4, allocations: 0 / 6.756 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005125/21.4, allocations: 453.3 kB / 6.756 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/21.4, allocations: 1.505 MB / 6.758 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/21.41, allocations: 2.697 MB / 6.76 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/21.41, allocations: 2.052 MB / 6.762 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/21.41, allocations: 7.594 kB / 6.762 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=469) (initialization): time 0.01359/21.43, allocations: 5.099 MB / 6.767 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003086/21.43, allocations: 13.33 MB / 6.78 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/21.43, allocations: 32.94 kB / 6.781 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/21.43, allocations: 0.6177 MB / 6.781 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004934/21.44, allocations: 0.8824 MB / 6.782 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/21.45, allocations: 5.521 MB / 6.787 GB, free: 27.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007881/21.45, allocations: 411.7 kB / 6.788 GB, free: 27.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/21.45, allocations: 198.4 kB / 6.788 GB, free: 27.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/21.45, allocations: 4.531 kB / 6.788 GB, free: 27.69 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01126/21.47, allocations: 4.336 MB / 6.792 GB, free: 27.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.799e-05/21.47, allocations: 27.44 kB / 6.792 GB, free: 27.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/21.47, allocations: 0.6439 MB / 6.793 GB, free: 27.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/21.47, allocations: 0.8574 MB / 6.794 GB, free: 27.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/21.48, allocations: 5.521 MB / 6.799 GB, free: 23.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008713/21.49, allocations: 382.8 kB / 6.799 GB, free: 23.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/21.49, allocations: 190.7 kB / 6.8 GB, free: 23.46 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.001451/21.49, allocations: 211.9 kB / 6.8 GB, free: 23.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009561/21.5, allocations: 3.807 MB / 6.804 GB, free: 22.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002119/21.5, allocations: 0.5471 MB / 6.804 GB, free: 22.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/21.51, allocations: 4.478 MB / 6.808 GB, free: 22.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/21.51, allocations: 32.12 kB / 6.808 GB, free: 22.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/21.51, allocations: 3.938 kB / 6.808 GB, free: 22.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006654/21.52, allocations: 3.487 MB / 6.812 GB, free: 21.82 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.02218/21.54, allocations: 9.316 MB / 6.821 GB, free: 19.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/21.54, allocations: 3.281 kB / 6.821 GB, free: 19.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/21.55, allocations: 0.6364 MB / 6.822 GB, free: 19.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/21.55, allocations: 458.6 kB / 6.822 GB, free: 19.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/21.55, allocations: 57.64 kB / 6.822 GB, free: 19.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009961/21.56, allocations: 11.27 MB / 6.833 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/21.56, allocations: 3.875 kB / 6.833 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/21.57, allocations: 6.756 MB / 6.84 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004709/21.58, allocations: 1.144 MB / 6.841 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/21.58, allocations: 15.92 kB / 6.841 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005856/21.58, allocations: 350.7 kB / 6.841 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005647/21.58, allocations: 227.2 kB / 6.841 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004312/21.59, allocations: 150.9 kB / 6.842 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007239/21.59, allocations: 3.045 MB / 6.845 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/21.59, allocations: 2.875 kB / 6.845 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02137/21.61, allocations: 3.741 MB / 6.848 GB, free: 1.465 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.02897/21.64, allocations: 15.09 MB / 6.863 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.7809/22.42, allocations: 6.686 MB / 6.869 GB, free: 96.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.153e-05/22.42, allocations: 7.094 kB / 6.869 GB, free: 96.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004937/22.43, allocations: 2.572 MB / 6.872 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01751/22.45, allocations: 2.378 MB / 6.874 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/22.48, allocations: 10.93 MB / 6.885 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004849/22.48, allocations: 3.798 MB / 6.889 GB, free: 92.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01622/22.5, allocations: 2.768 MB / 6.891 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005761/22.51, allocations: 2.691 MB / 6.894 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of SimCode: time 2.404e-06/22.51, allocations: 0 / 6.894 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3418/22.85, allocations: 195.4 MB / 7.085 GB, free: 65.18 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/22.85, allocations: 168.2 kB / 7.085 GB, free: 64.98 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/33.24, allocations: 0 / 7.085 GB, free: 64.98 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)