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.001666/0.001665, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001962/0.001963, allocations: 188.3 kB / 16.13 MB, free: 6.645 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9279/0.9279, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.83 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, allocations: 80.92 MB / 0.5837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4631/0.6227, allocations: 201.9 MB / 0.7809 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.6328, allocations: 6.438 MB / 0.7872 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.6344, allocations: 35.81 kB / 0.7872 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.6363, allocations: 0.6415 MB / 0.7878 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0076/0.6439, allocations: 2.514 MB / 0.7903 GB, free: 9.871 MB / 0.6075 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.001814/0.6458, allocations: 0.6317 MB / 0.7909 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005167/0.6509, allocations: 4.843 MB / 0.7956 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.6522, allocations: 0.9601 MB / 0.7966 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.6543, allocations: 1.082 MB / 0.7976 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.6563, allocations: 1.154 MB / 0.7988 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.6564, allocations: 72 kB / 0.7988 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.6612, allocations: 2.72 MB / 0.8015 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.6618, allocations: 470.7 kB / 0.8019 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.6627, allocations: 0.6805 MB / 0.8026 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.6672, allocations: 2.89 MB / 0.8054 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.6672, allocations: 0 / 0.8054 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6672, allocations: 0 / 0.8054 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.6673, allocations: 4 kB / 0.8054 GB, free: 10.33 MB / 0.6231 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.004223/0.6715, allocations: 1.773 MB / 0.8072 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6716, allocations: 12.03 kB / 0.8072 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.6738, allocations: 346.1 kB / 0.8075 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.6751, allocations: 0.8389 MB / 0.8083 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/0.6752, allocations: 81.94 kB / 0.8084 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.6753, allocations: 100 kB / 0.8085 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.6773, allocations: 1.187 MB / 0.8097 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.6773, allocations: 3.906 kB / 0.8097 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6774, allocations: 51.97 kB / 0.8097 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/0.6775, allocations: 62.06 kB / 0.8098 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.6794, allocations: 1.242 MB / 0.811 GB, free: 4.508 MB / 0.6231 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.006232/0.6857, allocations: 5.046 MB / 0.8159 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.6871, allocations: 1.141 MB / 0.817 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.6878, allocations: 0.505 MB / 0.8175 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.6878, allocations: 20.78 kB / 0.8175 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000745/0.6886, allocations: 488.2 kB / 0.818 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.6886, allocations: 0 / 0.818 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001943/0.6906, allocations: 1.157 MB / 0.8191 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.6906, allocations: 64 kB / 0.8192 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/0.6913, allocations: 0.5783 MB / 0.8198 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.6914, allocations: 37.7 kB / 0.8198 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.6917, allocations: 459.7 kB / 0.8202 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.6919, allocations: 272.1 kB / 0.8205 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.6921, allocations: 134.6 kB / 0.8206 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6923, allocations: 386.8 kB / 0.821 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.6928, allocations: 333.8 kB / 0.8213 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.6934, allocations: 462.5 kB / 0.8217 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.6945, allocations: 0.8232 MB / 0.8225 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6945, allocations: 0 / 0.8225 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001382/0.6959, allocations: 0.9372 MB / 0.8235 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6959, allocations: 6.656 kB / 0.8235 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6959, allocations: 4 kB / 0.8235 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.696, allocations: 11.94 kB / 0.8235 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.6967, allocations: 147.8 kB / 0.8236 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.6967, allocations: 8 kB / 0.8236 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/0.6977, allocations: 138.3 kB / 0.8238 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.6977, allocations: 24 kB / 0.8238 GB, free: 6.707 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.0004894/0.6982, allocations: 337.5 kB / 0.8241 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.6984, allocations: 79.06 kB / 0.8242 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.6986, allocations: 111.7 kB / 0.8243 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6986, allocations: 8 kB / 0.8243 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6986, allocations: 0 / 0.8243 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.6999, allocations: 1.085 MB / 0.8254 GB, free: 4.996 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.003237/0.7031, allocations: 2.312 MB / 0.8276 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7031, allocations: 0 / 0.8276 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.704, allocations: 175.8 kB / 0.8278 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.704, allocations: 4 kB / 0.8278 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.7041, allocations: 23.98 kB / 0.8278 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.7041, allocations: 3.75 kB / 0.8278 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7041, allocations: 4 kB / 0.8278 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.7061, allocations: 1.487 MB / 0.8293 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.7066, allocations: 256 kB / 0.8295 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.7067, allocations: 12 kB / 0.8295 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/0.7076, allocations: 103.8 kB / 0.8296 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7077, allocations: 40.59 kB / 0.8297 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.7078, allocations: 24 kB / 0.8297 GB, free: 452 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004924/0.7083, allocations: 419 kB / 0.8301 GB, free: 36 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7083, allocations: 0 / 0.8301 GB, free: 36 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009796/0.7093, allocations: 363.2 kB / 0.8304 GB, free: 15.68 MB / 0.6544 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.00037/0.7096, allocations: 182.8 kB / 0.8306 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.7109, allocations: 0.8019 MB / 0.8314 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.711, allocations: 4 kB / 0.8314 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.7115, allocations: 427.5 kB / 0.8318 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.7141, allocations: 0.5563 MB / 0.8323 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.7182, allocations: 2.614 MB / 0.8349 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/0.7191, allocations: 1.14 MB / 0.836 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001124/0.7203, allocations: 275.1 kB / 0.8363 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.7206, allocations: 79.42 kB / 0.8363 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.7206, allocations: 3.938 kB / 0.8364 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of Templates: time 0.03291/0.7535, allocations: 18.32 MB / 0.8542 GB, free: 7.484 MB / 0.67 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)