Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7144/0.7144, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 64.77 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3837, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.2051/0.5888, allocations: 204.1 MB / 0.7796 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009391/0.5982, allocations: 6.37 MB / 0.7858 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.5994, allocations: 35.81 kB / 0.7858 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.6011, allocations: 0.7265 MB / 0.7865 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005893/0.607, allocations: 2.677 MB / 0.7891 GB, free: 10.84 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.6086, allocations: 0.7005 MB / 0.7898 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.612, allocations: 3.267 MB / 0.793 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.6133, allocations: 1.144 MB / 0.7941 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.6151, allocations: 1.242 MB / 0.7953 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.6169, allocations: 1.098 MB / 0.7964 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.6171, allocations: 128 kB / 0.7965 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.6212, allocations: 2.362 MB / 0.7988 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.6216, allocations: 0.5104 MB / 0.7993 GB, free: 368 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.6224, allocations: 0.7391 MB / 0.8001 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.6261, allocations: 2.774 MB / 0.8028 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6261, allocations: 0 / 0.8028 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6261, allocations: 0 / 0.8028 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.6261, allocations: 0 / 0.8028 GB, free: 12.84 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003534/0.6296, allocations: 1.777 MB / 0.8045 GB, free: 11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6297, allocations: 12.03 kB / 0.8045 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.6299, allocations: 160.6 kB / 0.8047 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.6319, allocations: 354.1 kB / 0.805 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.6331, allocations: 0.8389 MB / 0.8058 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.6331, allocations: 74.02 kB / 0.8059 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.6333, allocations: 115.9 kB / 0.806 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.635, allocations: 1.187 MB / 0.8072 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.635, allocations: 0 / 0.8072 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.6351, allocations: 39.98 kB / 0.8072 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.6352, allocations: 73.98 kB / 0.8073 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.637, allocations: 1.242 MB / 0.8085 GB, free: 6.824 MB / 0.6387 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.005661/0.6426, allocations: 5.107 MB / 0.8135 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.6439, allocations: 1.154 MB / 0.8146 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.247/0.8909, allocations: 0.4969 MB / 0.8151 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.891, allocations: 19.55 kB / 0.8151 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008972/0.8919, allocations: 487.4 kB / 0.8156 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.447e-06/0.8919, allocations: 0 / 0.8156 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002061/0.894, allocations: 1.156 MB / 0.8167 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.894, allocations: 60.28 kB / 0.8168 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.8949, allocations: 0.5768 MB / 0.8173 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.8949, allocations: 41.58 kB / 0.8174 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.8952, allocations: 464.8 kB / 0.8178 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.8954, allocations: 276.4 kB / 0.8181 GB, free: 220 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.8956, allocations: 131.7 kB / 0.8182 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8957, allocations: 384.1 kB / 0.8186 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.8962, allocations: 330.3 kB / 0.8189 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.8967, allocations: 460.1 kB / 0.8193 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8978, allocations: 0.8245 MB / 0.8201 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8978, allocations: 3.969 kB / 0.8201 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001374/0.8992, allocations: 0.9258 MB / 0.821 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8992, allocations: 6.812 kB / 0.821 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.8993, allocations: 2.156 kB / 0.821 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8993, allocations: 6.812 kB / 0.821 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.8999, allocations: 159.2 kB / 0.8212 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.9, allocations: 10.42 kB / 0.8212 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.9006, allocations: 62.22 kB / 0.8213 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.9007, allocations: 24.28 kB / 0.8213 GB, free: 218.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00042/0.9011, allocations: 331 kB / 0.8216 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9012, allocations: 80.39 kB / 0.8217 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.9014, allocations: 113.5 kB / 0.8218 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.9014, allocations: 8.125 kB / 0.8218 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.9015, allocations: 3.828 kB / 0.8218 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/0.9026, allocations: 1.087 MB / 0.8229 GB, free: 217.3 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.002892/0.9055, allocations: 2.301 MB / 0.8251 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.9055, allocations: 4 kB / 0.8251 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.9063, allocations: 178.2 kB / 0.8253 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.9064, allocations: 2.969 kB / 0.8253 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.9064, allocations: 21.09 kB / 0.8253 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.9064, allocations: 8.906 kB / 0.8253 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9064, allocations: 1.828 kB / 0.8253 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.9081, allocations: 1.485 MB / 0.8268 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.9084, allocations: 255.8 kB / 0.827 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.9085, allocations: 15.73 kB / 0.827 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.9091, allocations: 26.28 kB / 0.827 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.9092, allocations: 41.72 kB / 0.8271 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.9092, allocations: 23.83 kB / 0.8271 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004543/0.9097, allocations: 420.1 kB / 0.8275 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9097, allocations: 0 / 0.8275 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008596/0.9106, allocations: 366.9 kB / 0.8279 GB, free: 214.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.9127, allocations: 2.104 MB / 0.8299 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.9145, allocations: 1.041 MB / 0.8309 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9145, allocations: 1.156 kB / 0.8309 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.915, allocations: 432.2 kB / 0.8313 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.9175, allocations: 0.5906 MB / 0.8319 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008105/0.9256, allocations: 7.459 MB / 0.8392 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.9262, allocations: 1.139 MB / 0.8403 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001053/0.9273, allocations: 271.9 kB / 0.8406 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.9277, allocations: 379.5 kB / 0.8409 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.9277, allocations: 0 / 0.8409 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.9664, allocations: 25.79 MB / 0.8661 GB, free: 186 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/8.213, allocations: 4.594 kB / 0.8661 GB, free: 186 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)