Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7722/0.7722, allocations: 128.7 MB / 143.7 MB, free: 2.289 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 183.3 kB / 173.7 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 92.11 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 13.53 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 76.76 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.688/5.888, allocations: 2.153 GB / 2.788 GB, free: 221.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/5.888, allocations: 91.41 kB / 2.788 GB, free: 221.7 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 1.8/7.688, allocations: 0.5979 GB / 3.386 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.354e-06/7.688, allocations: 0 / 3.386 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001395/7.688, allocations: 25.03 kB / 3.386 GB, free: 103.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00859/7.697, allocations: 1.677 MB / 3.388 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/7.697, allocations: 14.69 kB / 3.388 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007332/7.697, allocations: 171.1 kB / 3.388 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/7.701, allocations: 339.7 kB / 3.388 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/7.704, allocations: 0.8952 MB / 3.389 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/7.705, allocations: 86.12 kB / 3.389 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/7.705, allocations: 100.9 kB / 3.389 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/7.709, allocations: 1.13 MB / 3.39 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/7.709, allocations: 0 / 3.39 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/7.709, allocations: 42.56 kB / 3.39 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/7.709, allocations: 66.84 kB / 3.39 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/7.713, allocations: 1.174 MB / 3.392 GB, free: 100.1 MB / 0.6511 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.01055/7.723, allocations: 5.044 MB / 3.397 GB, free: 95.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/7.725, allocations: 0.9637 MB / 3.397 GB, free: 95.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/7.725, allocations: 10.92 kB / 3.397 GB, free: 95.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/7.726, allocations: 496.2 kB / 3.398 GB, free: 94.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 4.528e-06/7.726, allocations: 0 / 3.398 GB, free: 94.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.002765/7.729, allocations: 1.168 MB / 3.399 GB, free: 93.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/7.729, allocations: 64.05 kB / 3.399 GB, free: 93.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/7.73, allocations: 0.4995 MB / 3.4 GB, free: 92.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/7.73, allocations: 37.7 kB / 3.4 GB, free: 92.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/7.731, allocations: 463.6 kB / 3.4 GB, free: 92.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/7.731, allocations: 274.8 kB / 3.4 GB, free: 92.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/7.731, allocations: 8 kB / 3.4 GB, free: 92.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000105/7.731, allocations: 385.9 kB / 3.401 GB, free: 91.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/7.731, allocations: 333.8 kB / 3.401 GB, free: 91.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/7.732, allocations: 451.5 kB / 3.401 GB, free: 90.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/7.732, allocations: 406.4 kB / 3.402 GB, free: 90.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/7.732, allocations: 0 / 3.402 GB, free: 90.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001252/7.734, allocations: 0.9252 MB / 3.403 GB, free: 89.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/7.734, allocations: 8 kB / 3.403 GB, free: 89.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/7.734, allocations: 0 / 3.403 GB, free: 89.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/7.734, allocations: 8 kB / 3.403 GB, free: 89.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/7.734, allocations: 155.7 kB / 3.403 GB, free: 89.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/7.734, allocations: 11.95 kB / 3.403 GB, free: 89.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/7.736, allocations: 133.6 kB / 3.403 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/7.736, allocations: 23.98 kB / 3.403 GB, free: 89.27 MB / 0.6511 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 (90): * Single equations (assignments): 90 * 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.0006159/7.736, allocations: 333.6 kB / 3.403 GB, free: 88.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/7.737, allocations: 87 kB / 3.404 GB, free: 88.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/7.737, allocations: 111.4 kB / 3.404 GB, free: 88.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/7.737, allocations: 8 kB / 3.404 GB, free: 88.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/7.737, allocations: 2.734 kB / 3.404 GB, free: 88.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/7.738, allocations: 1.093 MB / 3.405 GB, free: 87.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/7.741, allocations: 2.141 MB / 3.407 GB, free: 85.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/7.741, allocations: 4 kB / 3.407 GB, free: 85.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/7.742, allocations: 175.5 kB / 3.407 GB, free: 85.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/7.742, allocations: 7.953 kB / 3.407 GB, free: 85.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/7.742, allocations: 16 kB / 3.407 GB, free: 85.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/7.742, allocations: 7.172 kB / 3.407 GB, free: 85.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/7.742, allocations: 0 / 3.407 GB, free: 85.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/7.744, allocations: 1.5 MB / 3.408 GB, free: 83.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/7.744, allocations: 275.8 kB / 3.409 GB, free: 83.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/7.744, allocations: 16 kB / 3.409 GB, free: 83.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/7.745, allocations: 102.7 kB / 3.409 GB, free: 83.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/7.746, allocations: 47.47 kB / 3.409 GB, free: 83.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/7.746, allocations: 23.98 kB / 3.409 GB, free: 83.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003859/7.746, allocations: 415 kB / 3.409 GB, free: 82.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/7.746, allocations: 0 / 3.409 GB, free: 82.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001353/7.747, allocations: 0.503 MB / 3.41 GB, free: 82.28 MB / 0.6511 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 (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.003716/7.751, allocations: 3.669 MB / 3.413 GB, free: 78.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009949/7.752, allocations: 0.8019 MB / 3.414 GB, free: 77.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/7.752, allocations: 4 kB / 3.414 GB, free: 77.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/7.753, allocations: 427.6 kB / 3.415 GB, free: 77.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/7.755, allocations: 0.5501 MB / 3.415 GB, free: 77.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/7.762, allocations: 7.503 MB / 3.422 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/7.763, allocations: 1.163 MB / 3.424 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001032/7.764, allocations: 270.4 kB / 3.424 GB, free: 68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/7.764, allocations: 371.3 kB / 3.424 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/7.764, allocations: 0 / 3.424 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06468/7.829, allocations: 51.09 MB / 3.474 GB, free: 17 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/7.829, allocations: 185.8 kB / 3.474 GB, free: 16.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/11.41, allocations: 3.938 kB / 3.474 GB, free: 16.75 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)