Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 106.2 kB / 16.41 MB, free: 6.465 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.001296/0.001296, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8513/0.8513, allocations: 135.2 MB / 426.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.31 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1749, allocations: 80.93 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6251/0.8, allocations: 204.7 MB / 0.8652 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.8119, allocations: 6.369 MB / 0.8714 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.8136, allocations: 39.81 kB / 0.8715 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.8159, allocations: 0.7694 MB / 0.8722 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.8239, allocations: 2.766 MB / 0.8749 GB, free: 8.695 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.002384/0.8263, allocations: 0.7114 MB / 0.8756 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.8315, allocations: 3.267 MB / 0.8788 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.8331, allocations: 0.9454 MB / 0.8797 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.8361, allocations: 1.3 MB / 0.881 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.8389, allocations: 1.091 MB / 0.8821 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.8391, allocations: 128 kB / 0.8822 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.8442, allocations: 2.354 MB / 0.8845 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008094/0.845, allocations: 0.5336 MB / 0.885 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.8464, allocations: 0.743 MB / 0.8857 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005888/0.8523, allocations: 2.808 MB / 0.8885 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8523, allocations: 0 / 0.8885 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8523, allocations: 0 / 0.8885 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.8523, allocations: 0 / 0.8885 GB, free: 10.76 MB / 0.6544 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.004586/0.8569, allocations: 1.805 MB / 0.8903 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.857, allocations: 13.09 kB / 0.8903 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.8593, allocations: 362.8 kB / 0.8906 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.8609, allocations: 0.8707 MB / 0.8915 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.861, allocations: 85.94 kB / 0.8915 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.8612, allocations: 100 kB / 0.8916 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.8634, allocations: 1.195 MB / 0.8928 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.8634, allocations: 3.984 kB / 0.8928 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.8635, allocations: 44 kB / 0.8928 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.054e-05/0.8636, allocations: 58.08 kB / 0.8929 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.8657, allocations: 1.238 MB / 0.8941 GB, free: 4.852 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.007123/0.8728, allocations: 5.094 MB / 0.8991 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.8744, allocations: 1.108 MB / 0.9002 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.8751, allocations: 473.2 kB / 0.9006 GB, free: 13.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.8752, allocations: 16.64 kB / 0.9006 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007878/0.876, allocations: 481.6 kB / 0.9011 GB, free: 13.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/0.876, allocations: 0 / 0.9011 GB, free: 13.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.002184/0.8782, allocations: 1.169 MB / 0.9022 GB, free: 11.98 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.8782, allocations: 60.06 kB / 0.9023 GB, free: 11.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.879, allocations: 0.5744 MB / 0.9029 GB, free: 11.33 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-05/0.8791, allocations: 41.7 kB / 0.9029 GB, free: 11.28 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.8795, allocations: 468.8 kB / 0.9033 GB, free: 10.82 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.8798, allocations: 289.5 kB / 0.9036 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.88, allocations: 122.7 kB / 0.9037 GB, free: 10.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.8803, allocations: 390.8 kB / 0.9041 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.8808, allocations: 329.8 kB / 0.9044 GB, free: 9.691 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.8814, allocations: 454.4 kB / 0.9049 GB, free: 9.207 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.8827, allocations: 0.8233 MB / 0.9057 GB, free: 8.344 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8827, allocations: 0 / 0.9057 GB, free: 8.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001517/0.8842, allocations: 0.9342 MB / 0.9066 GB, free: 7.402 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.8843, allocations: 11.94 kB / 0.9066 GB, free: 7.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8843, allocations: 0 / 0.9066 GB, free: 7.391 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.8843, allocations: 11.98 kB / 0.9066 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.885, allocations: 155.8 kB / 0.9067 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.885, allocations: 4 kB / 0.9067 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.8857, allocations: 66.47 kB / 0.9068 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.8858, allocations: 35.11 kB / 0.9068 GB, free: 7.129 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.0005511/0.8863, allocations: 337.6 kB / 0.9072 GB, free: 6.789 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.8865, allocations: 91.42 kB / 0.9073 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.8867, allocations: 103.8 kB / 0.9074 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.8867, allocations: 8 kB / 0.9074 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.8867, allocations: 0 / 0.9074 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/0.8881, allocations: 1.089 MB / 0.9084 GB, free: 5.406 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.003416/0.8915, allocations: 2.303 MB / 0.9107 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.8915, allocations: 0 / 0.9107 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008613/0.8924, allocations: 179.8 kB / 0.9108 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.8924, allocations: 7.938 kB / 0.9109 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.8925, allocations: 19.98 kB / 0.9109 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.8925, allocations: 4 kB / 0.9109 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8925, allocations: 0 / 0.9109 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.8946, allocations: 1.496 MB / 0.9123 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.895, allocations: 248.5 kB / 0.9126 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.8951, allocations: 12 kB / 0.9126 GB, free: 1.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.8957, allocations: 26.39 kB / 0.9126 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.8958, allocations: 48.53 kB / 0.9127 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.8959, allocations: 27.98 kB / 0.9127 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005518/0.8964, allocations: 415 kB / 0.9131 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8964, allocations: 0 / 0.9131 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000935/0.8974, allocations: 375.2 kB / 0.9134 GB, free: 160 kB / 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.0003467/0.8977, allocations: 176.5 kB / 0.9136 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.899, allocations: 0.7668 MB / 0.9144 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.899, allocations: 7.938 kB / 0.9144 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.8996, allocations: 391.6 kB / 0.9147 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.9022, allocations: 0.5915 MB / 0.9153 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.9059, allocations: 2.258 MB / 0.9175 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.9068, allocations: 1.147 MB / 0.9186 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.9071, allocations: 75.44 kB / 0.9187 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.173e-06/0.9071, allocations: 0 / 0.9187 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.02672/0.9339, allocations: 16.15 MB / 0.9345 GB, free: 10.64 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)