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.005483/0.005483, allocations: 98.97 kB / 15.73 MB, free: 6.035 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.001275/0.001275, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7479/0.7479, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 62.84 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1525, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5581/0.7107, allocations: 192.6 MB / 0.8478 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005331/0.716, allocations: 4.014 MB / 0.8517 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.717, allocations: 21.38 kB / 0.8517 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7183, allocations: 475.7 kB / 0.8522 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.7217, allocations: 1.531 MB / 0.8537 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.7249, allocations: 1.354 MB / 0.855 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.7267, allocations: 1.633 MB / 0.8566 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009461/0.7276, allocations: 0.9493 MB / 0.8575 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.7288, allocations: 0.9206 MB / 0.8584 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008671/0.7297, allocations: 0.8557 MB / 0.8592 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.7298, allocations: 96 kB / 0.8593 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.7321, allocations: 1.314 MB / 0.8606 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.7324, allocations: 349.2 kB / 0.861 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.7329, allocations: 0.5142 MB / 0.8615 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.7351, allocations: 1.643 MB / 0.8631 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7351, allocations: 0.7812 kB / 0.8631 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7351, allocations: 0 / 0.8631 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.7351, allocations: 4.5 kB / 0.8631 GB, free: 2.812 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002483/0.7376, allocations: 1.482 MB / 0.8645 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.7376, allocations: 7.969 kB / 0.8645 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.7391, allocations: 243.4 kB / 0.8648 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.7398, allocations: 0.6093 MB / 0.8653 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.7398, allocations: 38.16 kB / 0.8654 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.7399, allocations: 52.84 kB / 0.8654 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7411, allocations: 0.9643 MB / 0.8664 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.7411, allocations: 2.469 kB / 0.8664 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.7412, allocations: 20.28 kB / 0.8664 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.7413, allocations: 36.81 kB / 0.8664 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.7425, allocations: 0.9392 MB / 0.8674 GB, free: 1.504 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 preOpt removeSimpleEquations (simulation): time 0.004132/0.7467, allocations: 4.255 MB / 0.8715 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.7475, allocations: 0.6072 MB / 0.8721 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.7481, allocations: 0.5166 MB / 0.8726 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008931/0.749, allocations: 0.8797 MB / 0.8735 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.7491, allocations: 37.31 kB / 0.8735 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/0.7503, allocations: 414.7 kB / 0.8739 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/0.7503, allocations: 0.9375 kB / 0.8739 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01588/0.7662, allocations: 3.836 MB / 0.8776 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.7663, allocations: 58.25 kB / 0.8777 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.7671, allocations: 0.715 MB / 0.8784 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.7673, allocations: 35.14 kB / 0.8784 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.7675, allocations: 327.3 kB / 0.8787 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.7676, allocations: 181.7 kB / 0.8789 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.7679, allocations: 151.9 kB / 0.8791 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.768, allocations: 324.9 kB / 0.8794 GB, free: 13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.7686, allocations: 397.4 kB / 0.8797 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.7692, allocations: 489.6 kB / 0.8802 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.7705, allocations: 0.9303 MB / 0.8811 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7705, allocations: 0 / 0.8811 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01041/0.7809, allocations: 2.559 MB / 0.8836 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.781, allocations: 8.656 kB / 0.8836 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.781, allocations: 0 / 0.8836 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008937/0.7899, allocations: 1.74 MB / 0.8853 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.7904, allocations: 83.31 kB / 0.8854 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.802, allocations: 7.143 MB / 0.8924 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.8029, allocations: 24.7 kB / 0.8924 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.803, allocations: 43.59 kB / 0.8924 GB, free: 6.918 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.000358/0.8034, allocations: 215.7 kB / 0.8927 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.8035, allocations: 83.42 kB / 0.8927 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/0.8082, allocations: 1.742 MB / 0.8944 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.8082, allocations: 5.938 kB / 0.8944 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.8082, allocations: 2.5 kB / 0.8944 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.8082, allocations: 7.984 kB / 0.8945 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.8135, allocations: 2.537 MB / 0.8969 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.8136, allocations: 3.75 kB / 0.8969 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.814, allocations: 98.66 kB / 0.897 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003229/0.8172, allocations: 0.7997 MB / 0.8978 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.8173, allocations: 13.25 kB / 0.8978 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/0.8237, allocations: 4.862 MB / 0.9026 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8237, allocations: 3.094 kB / 0.9026 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.8285, allocations: 2.145 MB / 0.9047 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.829, allocations: 245.5 kB / 0.9049 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.8291, allocations: 15.89 kB / 0.9049 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.8297, allocations: 21.33 kB / 0.9049 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.8298, allocations: 54.91 kB / 0.905 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.8299, allocations: 20.25 kB / 0.905 GB, free: 14.24 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006064/0.8305, allocations: 0.4977 MB / 0.9055 GB, free: 13.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8305, allocations: 0 / 0.9055 GB, free: 13.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008813/0.8314, allocations: 287.8 kB / 0.9058 GB, free: 13.62 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.0004375/0.8318, allocations: 224 kB / 0.906 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003216/0.8351, allocations: 1.476 MB / 0.9074 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8351, allocations: 0 / 0.9074 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.8367, allocations: 0.9114 MB / 0.9083 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.8386, allocations: 461.2 kB / 0.9088 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.8411, allocations: 1.722 MB / 0.9104 GB, free: 8.824 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.8416, allocations: 0.9828 MB / 0.9114 GB, free: 7.809 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004991/0.8421, allocations: 166.6 kB / 0.9116 GB, free: 7.641 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.8423, allocations: 71.41 kB / 0.9116 GB, free: 7.574 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.8423, allocations: 0 / 0.9116 GB, free: 7.574 MB / 0.67 GB Notification: Performance of Templates: time 0.03204/0.8743, allocations: 22.77 MB / 0.9339 GB, free: 1.137 MB / 0.6856 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)