Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001662/0.001662, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001752/0.001752, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8572/0.8572, allocations: 135.1 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 0.5055 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 80.91 MB / 0.5845 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5558/0.9097, allocations: 190.1 MB / 0.7702 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.916, allocations: 4.008 MB / 0.7741 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.9174, allocations: 19.94 kB / 0.7741 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.9188, allocations: 410 kB / 0.7745 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.9227, allocations: 1.44 MB / 0.7759 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.9262, allocations: 1.258 MB / 0.7771 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002712/0.9289, allocations: 1.646 MB / 0.7787 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.9303, allocations: 0.9332 MB / 0.7797 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.933, allocations: 0.9401 MB / 0.7806 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.9347, allocations: 0.8937 MB / 0.7814 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.935, allocations: 96.34 kB / 0.7815 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.9386, allocations: 1.355 MB / 0.7829 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.9391, allocations: 352.8 kB / 0.7832 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008873/0.94, allocations: 0.5109 MB / 0.7837 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.9422, allocations: 1.179 MB / 0.7848 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.9422, allocations: 2.156 kB / 0.7848 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9422, allocations: 0.5938 kB / 0.7848 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.9422, allocations: 0 / 0.7848 GB, free: 1.34 MB / 0.5762 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.004613/0.9468, allocations: 1.451 MB / 0.7863 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.9469, allocations: 10.14 kB / 0.7863 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.9495, allocations: 243.6 kB / 0.7865 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.9507, allocations: 0.5849 MB / 0.7871 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.9508, allocations: 40.78 kB / 0.7871 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.951, allocations: 45.81 kB / 0.7872 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.9529, allocations: 0.9652 MB / 0.7881 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.953, allocations: 9.594 kB / 0.7881 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.9531, allocations: 23.42 kB / 0.7881 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.9532, allocations: 30.03 kB / 0.7882 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.9553, allocations: 0.9361 MB / 0.7891 GB, free: 16.08 MB / 0.5919 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.007498/0.9628, allocations: 4.263 MB / 0.7932 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.9641, allocations: 0.6029 MB / 0.7938 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.9652, allocations: 0.5184 MB / 0.7943 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.9665, allocations: 0.8759 MB / 0.7952 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.9666, allocations: 42 kB / 0.7952 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00276/0.9694, allocations: 463.5 kB / 0.7957 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 7.975e-06/0.9694, allocations: 3.938 kB / 0.7957 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.02517/0.9946, allocations: 3.837 MB / 0.7994 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.9947, allocations: 56.53 kB / 0.7995 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.9961, allocations: 0.7062 MB / 0.8002 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.9964, allocations: 35.14 kB / 0.8002 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.9967, allocations: 323.3 kB / 0.8005 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.997, allocations: 172.9 kB / 0.8007 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.9974, allocations: 150.6 kB / 0.8008 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9975, allocations: 334.7 kB / 0.8011 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009489/0.9985, allocations: 391.4 kB / 0.8015 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.9996, allocations: 484.5 kB / 0.802 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/1.001, allocations: 0.9264 MB / 0.8029 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.001, allocations: 1.781 kB / 0.8029 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01273/1.014, allocations: 2.559 MB / 0.8054 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.014, allocations: 5.344 kB / 0.8054 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.014, allocations: 2.812 kB / 0.8054 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009677/1.024, allocations: 1.733 MB / 0.8071 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/1.024, allocations: 91.92 kB / 0.8072 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.037, allocations: 7.16 MB / 0.8142 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.038, allocations: 32.23 kB / 0.8142 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/1.038, allocations: 50.14 kB / 0.8142 GB, free: 7.82 MB / 0.5919 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.0005119/1.039, allocations: 211.8 kB / 0.8144 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/1.039, allocations: 76.28 kB / 0.8145 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/1.045, allocations: 1.736 MB / 0.8162 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.045, allocations: 6.531 kB / 0.8162 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.045, allocations: 8.031 kB / 0.8162 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.045, allocations: 3.984 kB / 0.8162 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/1.051, allocations: 2.548 MB / 0.8187 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.051, allocations: 1.938 kB / 0.8187 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/1.051, allocations: 89.86 kB / 0.8188 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/1.055, allocations: 0.8008 MB / 0.8196 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/1.055, allocations: 21.53 kB / 0.8196 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006783/1.061, allocations: 4.855 MB / 0.8243 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.061, allocations: 5.312 kB / 0.8243 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/1.067, allocations: 2.148 MB / 0.8264 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/1.068, allocations: 232.8 kB / 0.8267 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.068, allocations: 18.03 kB / 0.8267 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/1.069, allocations: 34.2 kB / 0.8267 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.069, allocations: 63.25 kB / 0.8268 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/1.069, allocations: 19.44 kB / 0.8268 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007221/1.07, allocations: 0.4916 MB / 0.8273 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/1.07, allocations: 3.938 kB / 0.8273 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001187/1.071, allocations: 294.5 kB / 0.8276 GB, free: 0.8125 MB / 0.5919 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.0006093/1.071, allocations: 212.8 kB / 0.8278 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003977/1.075, allocations: 1.51 MB / 0.8292 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.075, allocations: 0 / 0.8292 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.077, allocations: 0.9126 MB / 0.8301 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.08, allocations: 472.1 kB / 0.8306 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/1.083, allocations: 2.007 MB / 0.8325 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/1.083, allocations: 0.9789 MB / 0.8335 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/1.084, allocations: 71.42 kB / 0.8336 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/1.084, allocations: 0 / 0.8336 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Templates: time 0.02663/1.11, allocations: 19.29 MB / 0.8524 GB, free: 7.809 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)