Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001368/0.001369, allocations: 185 kB / 17.34 MB, free: 5.629 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8137/0.8137, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.8 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 80.2 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5161/0.667, allocations: 192.6 MB / 0.8484 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006606/0.6736, allocations: 4 MB / 0.8523 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.6742, allocations: 22.72 kB / 0.8524 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.6753, allocations: 473.9 kB / 0.8528 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.6784, allocations: 1.544 MB / 0.8543 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.6812, allocations: 1.348 MB / 0.8556 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.683, allocations: 1.635 MB / 0.8572 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.684, allocations: 0.9598 MB / 0.8582 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.6852, allocations: 0.9182 MB / 0.8591 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.6862, allocations: 0.8607 MB / 0.8599 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6863, allocations: 95.62 kB / 0.86 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.6883, allocations: 1.302 MB / 0.8613 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.6887, allocations: 354.7 kB / 0.8616 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.6891, allocations: 0.5094 MB / 0.8621 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.691, allocations: 1.636 MB / 0.8637 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.691, allocations: 8 kB / 0.8637 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.691, allocations: 0 / 0.8637 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.691, allocations: 0 / 0.8637 GB, free: 5.602 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002751/0.6938, allocations: 1.445 MB / 0.8651 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6938, allocations: 15.91 kB / 0.8651 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.6953, allocations: 238.8 kB / 0.8654 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.6961, allocations: 0.6109 MB / 0.866 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.6962, allocations: 37 kB / 0.866 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6963, allocations: 48 kB / 0.8661 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.6977, allocations: 0.9655 MB / 0.867 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6977, allocations: 11.94 kB / 0.867 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.6978, allocations: 16 kB / 0.867 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.6979, allocations: 31.98 kB / 0.8671 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.6993, allocations: 0.9417 MB / 0.868 GB, free: 1.078 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.004869/0.7042, allocations: 4.255 MB / 0.8721 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.7051, allocations: 0.5939 MB / 0.8727 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.7058, allocations: 0.5188 MB / 0.8732 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009582/0.7068, allocations: 0.8783 MB / 0.8741 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.7068, allocations: 42.98 kB / 0.8741 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001397/0.7082, allocations: 415.1 kB / 0.8745 GB, free: 10 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.7083, allocations: 0 / 0.8745 GB, free: 10 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01766/0.7259, allocations: 3.833 MB / 0.8782 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.726, allocations: 67.77 kB / 0.8783 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/0.7269, allocations: 0.7039 MB / 0.879 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.727, allocations: 37.7 kB / 0.879 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.7272, allocations: 328.5 kB / 0.8794 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.7274, allocations: 173.4 kB / 0.8795 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.7276, allocations: 150 kB / 0.8797 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7278, allocations: 330 kB / 0.88 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.7284, allocations: 392.9 kB / 0.8803 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.7291, allocations: 489.5 kB / 0.8808 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.7306, allocations: 0.918 MB / 0.8817 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7306, allocations: 3.875 kB / 0.8817 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01139/0.742, allocations: 2.56 MB / 0.8842 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.742, allocations: 8 kB / 0.8842 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.742, allocations: 0 / 0.8842 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009641/0.7517, allocations: 1.734 MB / 0.8859 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.7522, allocations: 95.81 kB / 0.886 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.7646, allocations: 7.128 MB / 0.893 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.7654, allocations: 20.05 kB / 0.893 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7655, allocations: 47.92 kB / 0.893 GB, free: 6.559 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003874/0.7659, allocations: 213.6 kB / 0.8932 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.7662, allocations: 79.06 kB / 0.8933 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/0.7712, allocations: 1.747 MB / 0.895 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.7712, allocations: 8 kB / 0.895 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.7712, allocations: 0 / 0.895 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.7713, allocations: 11.92 kB / 0.895 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.7771, allocations: 2.54 MB / 0.8975 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7771, allocations: 3.562 kB / 0.8975 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.7775, allocations: 92.02 kB / 0.8976 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.7808, allocations: 0.8059 MB / 0.8984 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.7809, allocations: 16 kB / 0.8984 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006558/0.7875, allocations: 4.852 MB / 0.9031 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7875, allocations: 0 / 0.9031 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/0.7926, allocations: 2.155 MB / 0.9053 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.793, allocations: 232 kB / 0.9055 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.7932, allocations: 12 kB / 0.9055 GB, free: 9.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.7938, allocations: 23.98 kB / 0.9055 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.7939, allocations: 60.38 kB / 0.9056 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.794, allocations: 16.88 kB / 0.9056 GB, free: 9.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000608/0.7946, allocations: 0.499 MB / 0.9061 GB, free: 8.762 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7946, allocations: 0 / 0.9061 GB, free: 8.762 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009101/0.7955, allocations: 291.8 kB / 0.9063 GB, free: 8.477 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/0.796, allocations: 218.4 kB / 0.9066 GB, free: 8.266 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003413/0.7994, allocations: 1.462 MB / 0.908 GB, free: 6.781 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.7995, allocations: 4.062 kB / 0.908 GB, free: 6.777 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.8012, allocations: 0.9068 MB / 0.9089 GB, free: 5.844 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.8033, allocations: 457.4 kB / 0.9093 GB, free: 5.406 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.806, allocations: 1.756 MB / 0.911 GB, free: 3.605 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.8066, allocations: 0.9828 MB / 0.912 GB, free: 2.598 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.8068, allocations: 67.42 kB / 0.912 GB, free: 2.531 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.8068, allocations: 3.938 kB / 0.9121 GB, free: 2.527 MB / 0.67 GB Notification: Performance of Templates: time 0.02369/0.8305, allocations: 19.36 MB / 0.931 GB, free: 15.29 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)