Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.8005/0.8005, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001217/0.001217, allocations: 178.8 kB / 191.5 MB, free: 5.742 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.498/1.498, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.00087/0.0008701, allocations: 76.39 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 278.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005874/0.0005878, allocations: 13.81 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1977, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.91/5.107, allocations: 1.88 GB / 2.654 GB, free: 197.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/5.108, allocations: 88.52 kB / 2.654 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.349/6.457, allocations: 474.3 MB / 3.118 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/6.457, allocations: 0 / 3.118 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.403e-05/6.457, allocations: 23.98 kB / 3.118 GB, free: 9.055 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002707/6.46, allocations: 1.298 MB / 3.119 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/6.46, allocations: 12.03 kB / 3.119 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/6.46, allocations: 110.5 kB / 3.119 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/6.462, allocations: 320 kB / 3.119 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/6.463, allocations: 0.7606 MB / 3.12 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/6.463, allocations: 53.31 kB / 3.12 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/6.464, allocations: 64 kB / 3.12 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/6.465, allocations: 0.7753 MB / 3.121 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/6.465, allocations: 0 / 3.121 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/6.465, allocations: 32 kB / 3.121 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/6.465, allocations: 21.31 kB / 3.121 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/6.466, allocations: 0.6219 MB / 3.122 GB, free: 4.871 MB / 0.7136 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.003361/6.469, allocations: 3.368 MB / 3.125 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/6.47, allocations: 473.2 kB / 3.125 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5051/6.975, allocations: 0.671 MB / 3.126 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/6.975, allocations: 43.73 kB / 3.126 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 4.839e-06/6.975, allocations: 0.5938 kB / 3.126 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002657/6.978, allocations: 0.7728 MB / 3.127 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/6.978, allocations: 58.28 kB / 3.127 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/6.979, allocations: 0.5167 MB / 3.127 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/6.979, allocations: 35.3 kB / 3.127 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/6.979, allocations: 385.1 kB / 3.128 GB, free: 151 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/6.979, allocations: 181.1 kB / 3.128 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/6.979, allocations: 7.781 kB / 3.128 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001542/6.98, allocations: 384.5 kB / 3.128 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/6.98, allocations: 211.5 kB / 3.128 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/6.98, allocations: 293.7 kB / 3.129 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/6.981, allocations: 251.4 kB / 3.129 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/6.981, allocations: 0 / 3.129 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001004/6.982, allocations: 0.6197 MB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/6.982, allocations: 5.25 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/6.982, allocations: 2.656 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/6.982, allocations: 10.8 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/6.983, allocations: 116.2 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/6.983, allocations: 4.234 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/6.983, allocations: 80.94 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/6.984, allocations: 17.25 kB / 3.13 GB, free: 150.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003908/6.984, allocations: 265.2 kB / 3.13 GB, free: 150.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/6.984, allocations: 76.81 kB / 3.13 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009935/6.985, allocations: 0.5964 MB / 3.131 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/6.985, allocations: 5.5 kB / 3.131 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/6.985, allocations: 3.156 kB / 3.131 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008977/6.986, allocations: 0.8096 MB / 3.132 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/6.988, allocations: 1.536 MB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/6.988, allocations: 1 kB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/6.989, allocations: 143.6 kB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/6.989, allocations: 5.531 kB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/6.989, allocations: 10.62 kB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/6.989, allocations: 4 kB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/6.989, allocations: 5.906 kB / 3.133 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/6.991, allocations: 1.027 MB / 3.134 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/6.991, allocations: 218.3 kB / 3.134 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/6.991, allocations: 10.73 kB / 3.134 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/6.992, allocations: 62.75 kB / 3.134 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/6.992, allocations: 34.62 kB / 3.135 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/6.992, allocations: 18.3 kB / 3.135 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005536/6.993, allocations: 418.1 kB / 3.135 GB, free: 149 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/6.993, allocations: 0 / 3.135 GB, free: 149 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00142/6.994, allocations: 388.8 kB / 3.135 GB, free: 149 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004007/6.998, allocations: 2.908 MB / 3.138 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001073/6.999, allocations: 0.5015 MB / 3.139 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/6.999, allocations: 0 / 3.139 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/7, allocations: 276 kB / 3.139 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/7.002, allocations: 465 kB / 3.139 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/7.012, allocations: 5.606 MB / 3.145 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008584/7.013, allocations: 1.037 MB / 3.146 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001147/7.014, allocations: 178.5 kB / 3.146 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/7.015, allocations: 302 kB / 3.146 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/7.015, allocations: 0 / 3.146 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/7.1, allocations: 40.08 MB / 3.185 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/7.1, allocations: 248.5 kB / 3.186 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/10.53, allocations: 0 / 3.186 GB, free: 143.9 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)