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.0009534/0.0009534, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001311/0.001311, allocations: 173 kB / 16.27 MB, free: 6.664 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.4 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 8.875 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4557, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.2139/0.6696, allocations: 187.9 MB / 0.7671 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00758/0.6772, allocations: 4.021 MB / 0.7711 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.6784, allocations: 15.88 kB / 0.7711 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.6798, allocations: 401.8 kB / 0.7715 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.6837, allocations: 1.443 MB / 0.7729 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003796/0.6876, allocations: 1.248 MB / 0.7741 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.6903, allocations: 2.357 MB / 0.7764 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6914, allocations: 0.8632 MB / 0.7772 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.6928, allocations: 0.8524 MB / 0.7781 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009636/0.6938, allocations: 0.872 MB / 0.7789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.6939, allocations: 72 kB / 0.779 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.6965, allocations: 1.562 MB / 0.7805 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.6969, allocations: 330.9 kB / 0.7808 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.6974, allocations: 0.5072 MB / 0.7813 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.6993, allocations: 1.69 MB / 0.783 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6994, allocations: 0 / 0.783 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.957e-06/0.6994, allocations: 3.984 kB / 0.783 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.6994, allocations: 0 / 0.783 GB, free: 3.68 MB / 0.6075 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.00245/0.7018, allocations: 1.18 MB / 0.7841 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7019, allocations: 8.031 kB / 0.7841 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.7033, allocations: 242.8 kB / 0.7844 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.7041, allocations: 0.5875 MB / 0.7849 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.7042, allocations: 37 kB / 0.785 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.7043, allocations: 51.98 kB / 0.785 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.7057, allocations: 0.9648 MB / 0.786 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.7057, allocations: 4 kB / 0.786 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.7058, allocations: 20 kB / 0.786 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.7059, allocations: 35.86 kB / 0.786 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.7074, allocations: 0.9485 MB / 0.787 GB, free: 15.44 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.004746/0.7121, allocations: 4.188 MB / 0.791 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.7131, allocations: 0.6017 MB / 0.7916 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/0.7138, allocations: 0.5252 MB / 0.7921 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009928/0.7148, allocations: 0.8938 MB / 0.793 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.7149, allocations: 42.94 kB / 0.7931 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00142/0.7163, allocations: 359.2 kB / 0.7934 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 3.236e-06/0.7163, allocations: 0 / 0.7934 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01728/0.7336, allocations: 3.693 MB / 0.797 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.7337, allocations: 59.84 kB / 0.7971 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.7348, allocations: 0.7039 MB / 0.7978 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.735, allocations: 41.7 kB / 0.7978 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.7352, allocations: 320.6 kB / 0.7981 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7354, allocations: 177.3 kB / 0.7983 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.7355, allocations: 45.7 kB / 0.7983 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7357, allocations: 329.9 kB / 0.7986 GB, free: 3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.7363, allocations: 404.9 kB / 0.799 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.737, allocations: 489.5 kB / 0.7995 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.7384, allocations: 0.9336 MB / 0.8004 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7385, allocations: 4 kB / 0.8004 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01129/0.7498, allocations: 2.478 MB / 0.8028 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.7498, allocations: 8 kB / 0.8028 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.7499, allocations: 3.938 kB / 0.8028 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009361/0.7592, allocations: 1.558 MB / 0.8043 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.7598, allocations: 99.75 kB / 0.8044 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.7716, allocations: 6.551 MB / 0.8108 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.7726, allocations: 35.89 kB / 0.8109 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.7727, allocations: 47.94 kB / 0.8109 GB, free: 6.051 MB / 0.6387 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.0003782/0.773, allocations: 209.7 kB / 0.8111 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7732, allocations: 83.06 kB / 0.8112 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/0.7783, allocations: 1.671 MB / 0.8128 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7783, allocations: 8 kB / 0.8128 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7784, allocations: 4 kB / 0.8128 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.7784, allocations: 7.984 kB / 0.8128 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005765/0.7841, allocations: 2.481 MB / 0.8153 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7842, allocations: 3.938 kB / 0.8153 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.7846, allocations: 91.89 kB / 0.8154 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.788, allocations: 0.6573 MB / 0.816 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.788, allocations: 19.98 kB / 0.816 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3326/1.121, allocations: 4.407 MB / 0.8203 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.121, allocations: 1.625 kB / 0.8203 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/1.126, allocations: 2.099 MB / 0.8224 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/1.127, allocations: 236.2 kB / 0.8226 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.127, allocations: 12.81 kB / 0.8226 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/1.127, allocations: 30.05 kB / 0.8226 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/1.128, allocations: 58.97 kB / 0.8227 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/1.128, allocations: 19.02 kB / 0.8227 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007337/1.129, allocations: 0.4956 MB / 0.8232 GB, free: 216 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/1.129, allocations: 0 / 0.8232 GB, free: 216 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001184/1.13, allocations: 291.7 kB / 0.8235 GB, free: 216 MB / 0.6387 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.0004628/1.13, allocations: 221.1 kB / 0.8237 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00352/1.134, allocations: 1.43 MB / 0.8251 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.134, allocations: 0.8438 kB / 0.8251 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/1.136, allocations: 0.8876 MB / 0.826 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.138, allocations: 433.7 kB / 0.8264 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/1.141, allocations: 2.046 MB / 0.8284 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/1.142, allocations: 0.9814 MB / 0.8293 GB, free: 213 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007416/1.143, allocations: 164.2 kB / 0.8295 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/1.143, allocations: 70.69 kB / 0.8296 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.143, allocations: 1.594 kB / 0.8296 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.03494/1.178, allocations: 21.38 MB / 0.8504 GB, free: 202.7 MB / 0.6387 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)