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.00684/0.00684, allocations: 105.9 kB / 15.74 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 197 kB / 16.67 MB, free: 5.918 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7313/0.7313, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 68.83 kB / 0.5808 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1344, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5017/0.6361, allocations: 204.1 MB / 0.8585 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009676/0.6458, allocations: 6.363 MB / 0.8648 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.6472, allocations: 36.88 kB / 0.8648 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.6489, allocations: 0.7308 MB / 0.8655 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006646/0.6557, allocations: 2.665 MB / 0.8681 GB, free: 276 kB / 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.001689/0.6574, allocations: 0.7103 MB / 0.8688 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.6612, allocations: 3.267 MB / 0.872 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.6625, allocations: 1.151 MB / 0.8731 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.6645, allocations: 1.273 MB / 0.8744 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.6663, allocations: 1.094 MB / 0.8754 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.6664, allocations: 128 kB / 0.8755 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.6703, allocations: 2.358 MB / 0.8778 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.6708, allocations: 0.5182 MB / 0.8784 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007668/0.6716, allocations: 0.7391 MB / 0.8791 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.6754, allocations: 2.793 MB / 0.8818 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6754, allocations: 0 / 0.8818 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6754, allocations: 0 / 0.8818 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.6754, allocations: 0 / 0.8818 GB, free: 2.191 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.003487/0.6789, allocations: 1.776 MB / 0.8835 GB, free: 368 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.6789, allocations: 12.03 kB / 0.8835 GB, free: 356 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.6791, allocations: 160.6 kB / 0.8837 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.6812, allocations: 346.2 kB / 0.884 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.6827, allocations: 0.8817 MB / 0.8849 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.6827, allocations: 82.02 kB / 0.885 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.6829, allocations: 99.98 kB / 0.8851 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.6847, allocations: 1.183 MB / 0.8862 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.6847, allocations: 0 / 0.8862 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.6848, allocations: 47.98 kB / 0.8863 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/0.6848, allocations: 66.05 kB / 0.8863 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.6866, allocations: 1.242 MB / 0.8875 GB, free: 12.15 MB / 0.6544 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.005831/0.6924, allocations: 5.083 MB / 0.8925 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.6937, allocations: 1.152 MB / 0.8936 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.6944, allocations: 0.5091 MB / 0.8941 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.6945, allocations: 20.8 kB / 0.8941 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/0.6952, allocations: 484.2 kB / 0.8946 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.144e-06/0.6952, allocations: 0 / 0.8946 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001743/0.6969, allocations: 1.165 MB / 0.8957 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.697, allocations: 56.06 kB / 0.8958 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.6975, allocations: 0.5744 MB / 0.8964 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.6976, allocations: 45.7 kB / 0.8964 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.6979, allocations: 459.6 kB / 0.8968 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.6981, allocations: 264.1 kB / 0.8971 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.6983, allocations: 138.6 kB / 0.8972 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6984, allocations: 382.8 kB / 0.8976 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.6989, allocations: 329.8 kB / 0.8979 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.6994, allocations: 458.4 kB / 0.8983 GB, free: 436 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/0.7004, allocations: 0.8284 MB / 0.8992 GB, free: 15.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7004, allocations: 0 / 0.8992 GB, free: 15.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001213/0.7016, allocations: 0.9261 MB / 0.9001 GB, free: 14.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7016, allocations: 15.88 kB / 0.9001 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7016, allocations: 4 kB / 0.9001 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7017, allocations: 8 kB / 0.9001 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.7023, allocations: 155.7 kB / 0.9002 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.7023, allocations: 8 kB / 0.9002 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.703, allocations: 55.38 kB / 0.9003 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.703, allocations: 24 kB / 0.9003 GB, free: 14.36 MB / 0.67 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.0004021/0.7034, allocations: 337.5 kB / 0.9006 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.7036, allocations: 94.98 kB / 0.9007 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.7037, allocations: 107.7 kB / 0.9008 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7038, allocations: 8 kB / 0.9008 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7038, allocations: 0 / 0.9008 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001178/0.705, allocations: 1.089 MB / 0.9019 GB, free: 12.62 MB / 0.67 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.002917/0.7079, allocations: 2.295 MB / 0.9041 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7079, allocations: 3.984 kB / 0.9041 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.7087, allocations: 183.8 kB / 0.9043 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7087, allocations: 0 / 0.9043 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.7088, allocations: 20 kB / 0.9043 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.7088, allocations: 4 kB / 0.9043 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7088, allocations: 0 / 0.9043 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7105, allocations: 1.492 MB / 0.9058 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.711, allocations: 256 kB / 0.906 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.7111, allocations: 15.94 kB / 0.9061 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.7116, allocations: 26.05 kB / 0.9061 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.7117, allocations: 40.59 kB / 0.9061 GB, free: 8.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.7118, allocations: 31.92 kB / 0.9062 GB, free: 8.148 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004392/0.7122, allocations: 411.1 kB / 0.9065 GB, free: 7.754 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7122, allocations: 0 / 0.9065 GB, free: 7.754 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008276/0.7131, allocations: 367.1 kB / 0.9069 GB, free: 7.395 MB / 0.67 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.0022/0.7153, allocations: 2.099 MB / 0.9089 GB, free: 5.266 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.7164, allocations: 0.8097 MB / 0.9097 GB, free: 4.453 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7164, allocations: 0.6875 kB / 0.9097 GB, free: 4.453 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.717, allocations: 427.5 kB / 0.9101 GB, free: 4.039 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.7194, allocations: 0.6027 MB / 0.9107 GB, free: 3.469 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.7277, allocations: 7.209 MB / 0.9178 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.7283, allocations: 1.14 MB / 0.9189 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007749/0.7291, allocations: 275.1 kB / 0.9192 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.7296, allocations: 375.3 kB / 0.9195 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of SimCode: time 4.1e-07/0.7296, allocations: 0 / 0.9195 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/0.7764, allocations: 26.4 MB / 0.9453 GB, free: 184 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.294, allocations: 8.875 kB / 0.9453 GB, free: 176 kB / 0.7012 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)