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.006433/0.006433, allocations: 105.4 kB / 15.74 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.001126/0.001126, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 67.89 kB / 0.5813 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5324, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.2419/0.7744, allocations: 192.6 MB / 0.8478 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007081/0.7815, allocations: 4.008 MB / 0.8517 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/0.7823, allocations: 19.88 kB / 0.8517 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.7837, allocations: 485 kB / 0.8522 GB, free: 372 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.7878, allocations: 1.593 MB / 0.8537 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.7916, allocations: 1.378 MB / 0.8551 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.7942, allocations: 1.643 MB / 0.8567 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.7954, allocations: 0.9489 MB / 0.8576 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.797, allocations: 0.9423 MB / 0.8585 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.7981, allocations: 0.8566 MB / 0.8594 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.7982, allocations: 92 kB / 0.8595 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.8008, allocations: 1.317 MB / 0.8607 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.8012, allocations: 354.9 kB / 0.8611 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.8018, allocations: 0.5055 MB / 0.8616 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.8046, allocations: 1.64 MB / 0.8632 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.8047, allocations: 0 / 0.8632 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8047, allocations: 4 kB / 0.8632 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8047, allocations: 0 / 0.8632 GB, free: 5.059 MB / 0.6856 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.003111/0.8078, allocations: 1.454 MB / 0.8646 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8079, allocations: 8.031 kB / 0.8646 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.8094, allocations: 238.7 kB / 0.8648 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.8103, allocations: 0.611 MB / 0.8654 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.8103, allocations: 40.94 kB / 0.8655 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.8104, allocations: 51.98 kB / 0.8655 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8119, allocations: 0.9609 MB / 0.8665 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.812, allocations: 3.938 kB / 0.8665 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.8121, allocations: 27.94 kB / 0.8665 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.8121, allocations: 27.98 kB / 0.8665 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.8137, allocations: 0.9407 MB / 0.8674 GB, free: 0.5391 MB / 0.6856 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.5246/1.338, allocations: 4.256 MB / 0.8716 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.34, allocations: 0.5964 MB / 0.8722 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008665/1.34, allocations: 0.5131 MB / 0.8727 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009046/1.341, allocations: 0.8783 MB / 0.8735 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.341, allocations: 37.89 kB / 0.8736 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001652/1.343, allocations: 420 kB / 0.874 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 3.406e-06/1.343, allocations: 0.9375 kB / 0.874 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01846/1.362, allocations: 3.84 MB / 0.8777 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.362, allocations: 61.12 kB / 0.8778 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.363, allocations: 0.709 MB / 0.8785 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/1.363, allocations: 36.39 kB / 0.8785 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/1.363, allocations: 319.8 kB / 0.8788 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/1.363, allocations: 171.3 kB / 0.879 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/1.364, allocations: 151.4 kB / 0.8791 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/1.364, allocations: 326.9 kB / 0.8794 GB, free: 191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/1.365, allocations: 397.5 kB / 0.8798 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/1.366, allocations: 489.1 kB / 0.8803 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.367, allocations: 0.9274 MB / 0.8812 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.367, allocations: 5.281 kB / 0.8812 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01122/1.378, allocations: 2.557 MB / 0.8837 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.378, allocations: 4.969 kB / 0.8837 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.378, allocations: 2.812 kB / 0.8837 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009469/1.388, allocations: 1.733 MB / 0.8854 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/1.388, allocations: 95.8 kB / 0.8855 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.401, allocations: 7.146 MB / 0.8925 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.402, allocations: 16.12 kB / 0.8925 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.402, allocations: 49.05 kB / 0.8925 GB, free: 182.1 MB / 0.6856 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.0005413/1.403, allocations: 204 kB / 0.8927 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/1.403, allocations: 81.78 kB / 0.8928 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/1.408, allocations: 1.738 MB / 0.8945 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.408, allocations: 10.31 kB / 0.8945 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/1.408, allocations: 3.781 kB / 0.8945 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.408, allocations: 3.984 kB / 0.8945 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/1.414, allocations: 2.553 MB / 0.897 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.414, allocations: 1.938 kB / 0.897 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/1.414, allocations: 87.89 kB / 0.8971 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/1.418, allocations: 0.8002 MB / 0.8979 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/1.418, allocations: 13.5 kB / 0.8979 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006277/1.424, allocations: 4.848 MB / 0.9026 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.424, allocations: 2.375 kB / 0.9026 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/1.43, allocations: 2.147 MB / 0.9047 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/1.43, allocations: 232.3 kB / 0.9049 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.43, allocations: 17.44 kB / 0.9049 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/1.431, allocations: 25.23 kB / 0.905 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.431, allocations: 51.55 kB / 0.905 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/1.431, allocations: 19.34 kB / 0.905 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006273/1.432, allocations: 0.4974 MB / 0.9055 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.01e-07/1.432, allocations: 0 / 0.9055 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001122/1.433, allocations: 284.9 kB / 0.9058 GB, free: 173.1 MB / 0.6856 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.0005719/1.434, allocations: 222.7 kB / 0.906 GB, free: 173 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003704/1.437, allocations: 1.466 MB / 0.9074 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.437, allocations: 0 / 0.9074 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/1.439, allocations: 0.9222 MB / 0.9083 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.441, allocations: 453.9 kB / 0.9088 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/1.444, allocations: 1.71 MB / 0.9104 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.444, allocations: 0.9831 MB / 0.9114 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005402/1.445, allocations: 166.3 kB / 0.9116 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/1.445, allocations: 66.8 kB / 0.9116 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/1.445, allocations: 4 kB / 0.9116 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.03251/1.478, allocations: 22.76 MB / 0.9339 GB, free: 148.7 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)