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: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6822/0.6822, allocations: 128.7 MB / 144.5 MB, free: 1.363 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.001055/0.001055, allocations: 186.2 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205 MB / 408.9 MB, free: 9.75 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.0009849/0.0009847, allocations: 113.6 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009795/0.0009795, allocations: 50.09 kB / 0.558 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1373, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5102/0.6475, allocations: 202.2 MB / 0.8291 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.6586, allocations: 6.437 MB / 0.8354 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.6615, allocations: 38.38 kB / 0.8354 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.6636, allocations: 0.6488 MB / 0.8361 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00747/0.6712, allocations: 2.528 MB / 0.8385 GB, free: 1.566 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/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.002093/0.6733, allocations: 0.6992 MB / 0.8392 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005993/0.6793, allocations: 5.034 MB / 0.8441 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.6809, allocations: 0.9773 MB / 0.8451 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.6835, allocations: 1.117 MB / 0.8462 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.6861, allocations: 1.164 MB / 0.8473 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.6863, allocations: 81.23 kB / 0.8474 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.6919, allocations: 2.719 MB / 0.8501 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0006597/0.6926, allocations: 494.5 kB / 0.8505 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.6937, allocations: 0.6922 MB / 0.8512 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.6996, allocations: 3.038 MB / 0.8542 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.6997, allocations: 0 / 0.8542 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.068e-06/0.6997, allocations: 3.984 kB / 0.8542 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.6997, allocations: 0 / 0.8542 GB, free: 6.527 MB / 0.5417 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.004522/0.7042, allocations: 1.788 MB / 0.8559 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.7043, allocations: 12.03 kB / 0.8559 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.7064, allocations: 346.2 kB / 0.8563 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.7079, allocations: 0.8428 MB / 0.8571 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.7079, allocations: 78.03 kB / 0.8572 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.7081, allocations: 100 kB / 0.8573 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.71, allocations: 1.207 MB / 0.8584 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.71, allocations: 0 / 0.8584 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7101, allocations: 44 kB / 0.8585 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.509e-05/0.7102, allocations: 62.11 kB / 0.8585 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.712, allocations: 1.257 MB / 0.8598 GB, free: 0.6602 MB / 0.5417 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.006405/0.7184, allocations: 5.089 MB / 0.8647 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.7199, allocations: 1.151 MB / 0.8659 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006866/0.7206, allocations: 0.5011 MB / 0.8663 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.7206, allocations: 16.8 kB / 0.8664 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007027/0.7214, allocations: 492.2 kB / 0.8668 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 3.837e-06/0.7214, allocations: 0 / 0.8668 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.001898/0.7233, allocations: 1.145 MB / 0.8679 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.7233, allocations: 64 kB / 0.868 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.724, allocations: 0.5862 MB / 0.8686 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.724, allocations: 37.7 kB / 0.8686 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.7243, allocations: 467.6 kB / 0.8691 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.7246, allocations: 264.1 kB / 0.8693 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.7248, allocations: 134.6 kB / 0.8694 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7249, allocations: 382.8 kB / 0.8698 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.7254, allocations: 325.8 kB / 0.8701 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006028/0.726, allocations: 458.5 kB / 0.8706 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.727, allocations: 0.8194 MB / 0.8714 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7271, allocations: 0 / 0.8714 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00125/0.7283, allocations: 0.9179 MB / 0.8723 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7283, allocations: 13.97 kB / 0.8723 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7284, allocations: 8.281 kB / 0.8723 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7284, allocations: 11.94 kB / 0.8723 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.729, allocations: 159.8 kB / 0.8724 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.7291, allocations: 10.12 kB / 0.8724 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/0.7301, allocations: 139.7 kB / 0.8726 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.7301, allocations: 24 kB / 0.8726 GB, free: 2.797 MB / 0.5573 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.0004331/0.7306, allocations: 337.6 kB / 0.8729 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.7307, allocations: 75.16 kB / 0.873 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.7309, allocations: 107.7 kB / 0.8731 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7309, allocations: 12 kB / 0.8731 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.7309, allocations: 0 / 0.8731 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.7321, allocations: 1.085 MB / 0.8742 GB, free: 1.09 MB / 0.5573 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.003124/0.7352, allocations: 2.313 MB / 0.8764 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7352, allocations: 0 / 0.8764 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.736, allocations: 179.8 kB / 0.8766 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.736, allocations: 7.984 kB / 0.8766 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.7361, allocations: 20 kB / 0.8766 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.7361, allocations: 0 / 0.8766 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7361, allocations: 4 kB / 0.8766 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008565/0.7447, allocations: 5.972 MB / 0.8825 GB, free: 8.359 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.7452, allocations: 267.9 kB / 0.8827 GB, free: 8.078 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.7453, allocations: 19.94 kB / 0.8827 GB, free: 8.059 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.7461, allocations: 95.81 kB / 0.8828 GB, free: 7.965 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.7462, allocations: 48.59 kB / 0.8829 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.7462, allocations: 23.98 kB / 0.8829 GB, free: 7.895 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004608/0.7467, allocations: 423 kB / 0.8833 GB, free: 7.488 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7467, allocations: 0 / 0.8833 GB, free: 7.488 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00208/0.7488, allocations: 0.5381 MB / 0.8838 GB, free: 6.949 MB / 0.573 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.0002847/0.7491, allocations: 194.5 kB / 0.884 GB, free: 6.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.7503, allocations: 0.7941 MB / 0.8848 GB, free: 5.953 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.7503, allocations: 0 / 0.8848 GB, free: 5.953 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.7508, allocations: 423.5 kB / 0.8852 GB, free: 5.543 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.7534, allocations: 0.5652 MB / 0.8857 GB, free: 4.984 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.7574, allocations: 3.088 MB / 0.8888 GB, free: 1.848 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.7582, allocations: 1.167 MB / 0.8899 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001063/0.7592, allocations: 288 kB / 0.8902 GB, free: 376 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.7595, allocations: 79.42 kB / 0.8903 GB, free: 296 kB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/0.7595, allocations: 0 / 0.8903 GB, free: 296 kB / 0.573 GB Notification: Performance of Templates: time 0.03212/0.7916, allocations: 20.9 MB / 0.9107 GB, free: 11.58 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)