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.01057/0.01058, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002438/0.002438, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8642/0.8642, allocations: 135.2 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.23 kB / 0.5856 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1829, allocations: 80.92 MB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6447/0.8277, allocations: 204.2 MB / 0.864 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.8408, allocations: 6.356 MB / 0.8702 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.843, allocations: 35.81 kB / 0.8702 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.8453, allocations: 0.7617 MB / 0.871 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.853, allocations: 2.754 MB / 0.8737 GB, free: 9.012 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.002303/0.8553, allocations: 0.7152 MB / 0.8744 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004839/0.8601, allocations: 3.281 MB / 0.8776 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.8623, allocations: 1.141 MB / 0.8787 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.8654, allocations: 1.296 MB / 0.88 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.8683, allocations: 1.102 MB / 0.881 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.8688, allocations: 128 kB / 0.8812 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005883/0.8746, allocations: 2.358 MB / 0.8835 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00091/0.8756, allocations: 0.5143 MB / 0.884 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.8776, allocations: 0.7391 MB / 0.8847 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.8844, allocations: 2.805 MB / 0.8874 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.8844, allocations: 0 / 0.8874 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8844, allocations: 0 / 0.8874 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.163e-05/0.8845, allocations: 0 / 0.8874 GB, free: 10.89 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.006114/0.8907, allocations: 1.765 MB / 0.8891 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.8907, allocations: 9.109 kB / 0.8892 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.893, allocations: 354.2 kB / 0.8895 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.8946, allocations: 0.874 MB / 0.8903 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.8947, allocations: 82 kB / 0.8904 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.8949, allocations: 100 kB / 0.8905 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.8969, allocations: 1.187 MB / 0.8917 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.8969, allocations: 0 / 0.8917 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.8971, allocations: 47.98 kB / 0.8917 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.8971, allocations: 58.06 kB / 0.8918 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.8991, allocations: 1.242 MB / 0.893 GB, free: 5.047 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.007016/0.9061, allocations: 5.085 MB / 0.898 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.9077, allocations: 1.143 MB / 0.8991 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.9085, allocations: 0.5089 MB / 0.8996 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.9086, allocations: 16.8 kB / 0.8996 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000793/0.9094, allocations: 484.2 kB / 0.9 GB, free: 13.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.975e-06/0.9094, allocations: 0 / 0.9 GB, free: 13.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.002087/0.9115, allocations: 1.161 MB / 0.9012 GB, free: 12.11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.9116, allocations: 60.06 kB / 0.9012 GB, free: 12.04 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.9124, allocations: 0.5822 MB / 0.9018 GB, free: 11.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.9125, allocations: 41.7 kB / 0.9018 GB, free: 11.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.9129, allocations: 463.6 kB / 0.9023 GB, free: 10.93 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.9132, allocations: 268.1 kB / 0.9025 GB, free: 10.67 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.9134, allocations: 126.7 kB / 0.9027 GB, free: 10.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.9136, allocations: 386.8 kB / 0.903 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.9142, allocations: 331 kB / 0.9034 GB, free: 9.828 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.9148, allocations: 454.5 kB / 0.9038 GB, free: 9.344 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.916, allocations: 0.8272 MB / 0.9046 GB, free: 8.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.916, allocations: 4 kB / 0.9046 GB, free: 8.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001544/0.9176, allocations: 0.9221 MB / 0.9055 GB, free: 7.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.9176, allocations: 17.41 kB / 0.9055 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9176, allocations: 4 kB / 0.9055 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9177, allocations: 4 kB / 0.9055 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.9184, allocations: 159.7 kB / 0.9057 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.9185, allocations: 4 kB / 0.9057 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009067/0.9194, allocations: 64.16 kB / 0.9057 GB, free: 7.297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.9195, allocations: 28 kB / 0.9058 GB, free: 7.27 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.000603/0.9201, allocations: 325.6 kB / 0.9061 GB, free: 6.941 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.9203, allocations: 94.98 kB / 0.9062 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.9206, allocations: 111.7 kB / 0.9063 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.9206, allocations: 8 kB / 0.9063 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.9206, allocations: 3.938 kB / 0.9063 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/0.922, allocations: 1.089 MB / 0.9073 GB, free: 5.543 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.00364/0.9257, allocations: 2.303 MB / 0.9096 GB, free: 3.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9257, allocations: 4 kB / 0.9096 GB, free: 3.152 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.9266, allocations: 179.9 kB / 0.9098 GB, free: 2.977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.9266, allocations: 4 kB / 0.9098 GB, free: 2.973 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.9267, allocations: 19.94 kB / 0.9098 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.9267, allocations: 4 kB / 0.9098 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9267, allocations: 0 / 0.9098 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.9289, allocations: 1.484 MB / 0.9112 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.9294, allocations: 260 kB / 0.9115 GB, free: 1.168 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.9295, allocations: 12 kB / 0.9115 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.9303, allocations: 23.98 kB / 0.9115 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.9304, allocations: 40.59 kB / 0.9116 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.9305, allocations: 24 kB / 0.9116 GB, free: 1.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005951/0.9311, allocations: 422.9 kB / 0.912 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9311, allocations: 0 / 0.912 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001193/0.9323, allocations: 371 kB / 0.9123 GB, free: 308 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.0003672/0.9326, allocations: 176.3 kB / 0.9125 GB, free: 124 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.9341, allocations: 0.8098 MB / 0.9133 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9341, allocations: 0 / 0.9133 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005813/0.9347, allocations: 427.5 kB / 0.9137 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.9374, allocations: 0.5883 MB / 0.9143 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.9414, allocations: 2.152 MB / 0.9164 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.9424, allocations: 1.14 MB / 0.9175 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00107/0.9435, allocations: 267.2 kB / 0.9178 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.9438, allocations: 79.42 kB / 0.9178 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.9438, allocations: 0 / 0.9178 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.03616/0.98, allocations: 19.32 MB / 0.9367 GB, free: 7.5 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)