Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004744/0.004744, allocations: 98.14 kB / 15.73 MB, free: 6.059 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.001207/0.001207, allocations: 199.8 kB / 16.68 MB, free: 5.977 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.16 kB / 0.5813 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 80.2 MB / 0.6597 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6553/0.826, allocations: 204.1 MB / 0.859 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.8361, allocations: 6.365 MB / 0.8652 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.8377, allocations: 35.69 kB / 0.8653 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.8396, allocations: 0.7693 MB / 0.866 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006311/0.8459, allocations: 2.758 MB / 0.8687 GB, free: 2.996 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001737/0.8477, allocations: 0.7076 MB / 0.8694 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003859/0.8515, allocations: 3.277 MB / 0.8726 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.853, allocations: 1.153 MB / 0.8737 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.855, allocations: 1.294 MB / 0.875 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.8567, allocations: 1.09 MB / 0.8761 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.8569, allocations: 126.2 kB / 0.8762 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.862, allocations: 2.367 MB / 0.8785 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006166/0.8627, allocations: 0.5172 MB / 0.879 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009094/0.8636, allocations: 0.7397 MB / 0.8797 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.8681, allocations: 2.795 MB / 0.8824 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8681, allocations: 8.344 kB / 0.8825 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8681, allocations: 0 / 0.8825 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.8681, allocations: 0 / 0.8825 GB, free: 2.109 MB / 0.6387 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.003812/0.8719, allocations: 1.763 MB / 0.8842 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.872, allocations: 10 kB / 0.8842 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.8741, allocations: 345.1 kB / 0.8845 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.8755, allocations: 0.8797 MB / 0.8854 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.8756, allocations: 76.2 kB / 0.8854 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.8757, allocations: 109.8 kB / 0.8856 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.8774, allocations: 1.185 MB / 0.8867 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.8775, allocations: 0.9062 kB / 0.8867 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.8776, allocations: 40.44 kB / 0.8867 GB, free: 292 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/0.8777, allocations: 64.97 kB / 0.8868 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.8795, allocations: 1.242 MB / 0.888 GB, free: 15.87 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.006473/0.8859, allocations: 5.079 MB / 0.893 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.8874, allocations: 1.153 MB / 0.8941 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.8881, allocations: 0.5103 MB / 0.8946 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/0.8882, allocations: 19.34 kB / 0.8946 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008192/0.889, allocations: 485.4 kB / 0.8951 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.456e-06/0.889, allocations: 0.9062 kB / 0.8951 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002236/0.8913, allocations: 1.153 MB / 0.8962 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.8914, allocations: 59.44 kB / 0.8963 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.8922, allocations: 0.5774 MB / 0.8968 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.8923, allocations: 40.48 kB / 0.8969 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.8928, allocations: 469.8 kB / 0.8973 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.8931, allocations: 265 kB / 0.8976 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.8933, allocations: 138.7 kB / 0.8977 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002497/0.8936, allocations: 389.1 kB / 0.8981 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.8941, allocations: 326.5 kB / 0.8984 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.8947, allocations: 460.5 kB / 0.8988 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.8958, allocations: 0.8261 MB / 0.8996 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8958, allocations: 3.156 kB / 0.8996 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001312/0.8971, allocations: 0.9232 MB / 0.9005 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.8972, allocations: 8.969 kB / 0.9005 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8972, allocations: 2.812 kB / 0.9006 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.8972, allocations: 5.812 kB / 0.9006 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.8979, allocations: 156.4 kB / 0.9007 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.8979, allocations: 5 kB / 0.9007 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.8986, allocations: 64.78 kB / 0.9008 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.8986, allocations: 25.58 kB / 0.9008 GB, free: 8.113 MB / 0.6544 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.0004419/0.8991, allocations: 341.2 kB / 0.9011 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.8992, allocations: 81.97 kB / 0.9012 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.8994, allocations: 107.3 kB / 0.9013 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8994, allocations: 5.969 kB / 0.9013 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.8995, allocations: 0 / 0.9013 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.9007, allocations: 1.09 MB / 0.9024 GB, free: 6.941 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 postOpt removeSimpleEquations (simulation): time 0.003133/0.9038, allocations: 2.305 MB / 0.9046 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9038, allocations: 3.031 kB / 0.9046 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.9046, allocations: 173.9 kB / 0.9048 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.9046, allocations: 9.75 kB / 0.9048 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.9047, allocations: 23.56 kB / 0.9048 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.9047, allocations: 4.469 kB / 0.9048 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.9047, allocations: 5.328 kB / 0.9048 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.9066, allocations: 1.473 MB / 0.9063 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.9069, allocations: 262 kB / 0.9065 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.907, allocations: 16.53 kB / 0.9065 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.9076, allocations: 25.03 kB / 0.9066 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.9077, allocations: 42.78 kB / 0.9066 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.9078, allocations: 32.05 kB / 0.9066 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000473/0.9083, allocations: 411.7 kB / 0.907 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9083, allocations: 0 / 0.907 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008649/0.9091, allocations: 369.9 kB / 0.9074 GB, free: 3.898 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.0002635/0.9094, allocations: 178.3 kB / 0.9075 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.9106, allocations: 0.8041 MB / 0.9083 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9106, allocations: 0 / 0.9083 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.9112, allocations: 428.2 kB / 0.9087 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.9133, allocations: 0.5876 MB / 0.9093 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.9163, allocations: 2.152 MB / 0.9114 GB, free: 236 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.917, allocations: 1.136 MB / 0.9125 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007347/0.9178, allocations: 283.1 kB / 0.9128 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.918, allocations: 83.42 kB / 0.9129 GB, free: 14.7 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.918, allocations: 0 / 0.9129 GB, free: 14.7 MB / 0.67 GB Notification: Performance of Templates: time 0.02797/0.946, allocations: 19.3 MB / 0.9317 GB, free: 11.74 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)