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.8116/0.8116, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.001026/0.001026, allocations: 180.8 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.357/1.357, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009096/0.0009096, allocations: 93.53 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 272.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.709e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3873, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.781/4.169, allocations: 1.88 GB / 2.637 GB, free: 178.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/4.169, allocations: 83.95 kB / 2.637 GB, free: 178.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.541/5.71, allocations: 468.8 MB / 3.095 GB, free: 156.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/5.71, allocations: 0 / 3.095 GB, free: 156.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.173e-05/5.71, allocations: 26.66 kB / 3.095 GB, free: 156.8 MB / 0.698 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.001971/5.712, allocations: 1.145 MB / 3.096 GB, free: 156.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/5.712, allocations: 9.875 kB / 3.096 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/5.714, allocations: 315.2 kB / 3.097 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/5.715, allocations: 0.7519 MB / 3.097 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/5.715, allocations: 21.16 kB / 3.097 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/5.715, allocations: 46.88 kB / 3.097 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009778/5.716, allocations: 0.5273 MB / 3.098 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/5.717, allocations: 0.6418 MB / 3.098 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/5.717, allocations: 3.812 kB / 3.099 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/5.717, allocations: 3.688 kB / 3.099 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/5.717, allocations: 23.78 kB / 3.099 GB, free: 155.9 MB / 0.698 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.002897/5.72, allocations: 3.232 MB / 3.102 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/5.721, allocations: 425.3 kB / 3.102 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/5.721, allocations: 246.4 kB / 3.102 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/5.721, allocations: 0.6696 MB / 3.103 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/5.721, allocations: 47.95 kB / 3.103 GB, free: 153.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 1.813e-06/5.721, allocations: 0 / 3.103 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.0009484/5.722, allocations: 0.4937 MB / 3.104 GB, free: 153.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/5.722, allocations: 55.28 kB / 3.104 GB, free: 153.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/5.723, allocations: 454.9 kB / 3.104 GB, free: 153 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/5.723, allocations: 28.89 kB / 3.104 GB, free: 153 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/5.723, allocations: 391.4 kB / 3.104 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/5.723, allocations: 177.6 kB / 3.105 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/5.723, allocations: 0 / 3.105 GB, free: 152.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/5.723, allocations: 377.2 kB / 3.105 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/5.723, allocations: 168.4 kB / 3.105 GB, free: 152.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/5.724, allocations: 260.4 kB / 3.105 GB, free: 152.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/5.724, allocations: 214.7 kB / 3.106 GB, free: 152.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/5.724, allocations: 3.953 kB / 3.106 GB, free: 152.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006544/5.725, allocations: 0.524 MB / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/5.725, allocations: 9.406 kB / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/5.725, allocations: 0 / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/5.725, allocations: 3.906 kB / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/5.725, allocations: 114.3 kB / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/5.725, allocations: 7.75 kB / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/5.726, allocations: 67.27 kB / 3.106 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/5.726, allocations: 18.78 kB / 3.106 GB, free: 152.3 MB / 0.698 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 () * 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 9.437e-05/5.726, allocations: 113.3 kB / 3.106 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006253/5.727, allocations: 477.5 kB / 3.107 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/5.727, allocations: 75.72 kB / 3.107 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/5.728, allocations: 0.5 MB / 3.107 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/5.728, allocations: 11.75 kB / 3.107 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/5.728, allocations: 0 / 3.107 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005447/5.728, allocations: 0.7302 MB / 3.108 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/5.73, allocations: 1.352 MB / 3.109 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/5.73, allocations: 0 / 3.109 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/5.73, allocations: 151.7 kB / 3.11 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/5.73, allocations: 0 / 3.11 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/5.731, allocations: 7.531 kB / 3.11 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/5.731, allocations: 3.719 kB / 3.11 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/5.731, allocations: 6.844 kB / 3.11 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/5.731, allocations: 0.9114 MB / 3.11 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/5.732, allocations: 209.5 kB / 3.111 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/5.732, allocations: 9.984 kB / 3.111 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/5.732, allocations: 46.45 kB / 3.111 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/5.733, allocations: 35.05 kB / 3.111 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/5.733, allocations: 19.03 kB / 3.111 GB, free: 150.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003089/5.733, allocations: 360.1 kB / 3.111 GB, free: 150.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.733, allocations: 0 / 3.111 GB, free: 150.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008496/5.734, allocations: 339.5 kB / 3.111 GB, free: 150.7 MB / 0.698 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 () * 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.002413/5.736, allocations: 2.945 MB / 3.114 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005598/5.737, allocations: 433.7 kB / 3.115 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/5.737, allocations: 3.844 kB / 3.115 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/5.737, allocations: 236.7 kB / 3.115 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/5.739, allocations: 429.7 kB / 3.115 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/5.742, allocations: 1.625 MB / 3.117 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/5.742, allocations: 1.039 MB / 3.118 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006434/5.743, allocations: 176.9 kB / 3.118 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/5.743, allocations: 295.1 kB / 3.118 GB, free: 148.4 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/5.743, allocations: 0 / 3.118 GB, free: 148.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/5.789, allocations: 28.9 MB / 3.147 GB, free: 147.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/5.789, allocations: 205.2 kB / 3.147 GB, free: 147.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/8.481, allocations: 2.031 kB / 3.147 GB, free: 147.3 MB / 0.698 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)