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.001571/0.001571, allocations: 104.8 kB / 16.27 MB, free: 5.988 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.001551/0.001551, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8348/0.8348, allocations: 135.2 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2918, allocations: 80.92 MB / 0.5851 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4844/0.7763, allocations: 192.6 MB / 0.7731 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005213/0.7815, allocations: 4.013 MB / 0.7771 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.7824, allocations: 21.36 kB / 0.7771 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.7836, allocations: 475.2 kB / 0.7775 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.7868, allocations: 1.53 MB / 0.779 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.79, allocations: 1.343 MB / 0.7803 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.7924, allocations: 1.637 MB / 0.7819 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.7936, allocations: 0.9572 MB / 0.7829 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.7954, allocations: 0.9222 MB / 0.7838 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.7967, allocations: 0.8447 MB / 0.7846 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000328/0.7971, allocations: 93.88 kB / 0.7847 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.7997, allocations: 1.309 MB / 0.786 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.8002, allocations: 358.3 kB / 0.7863 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.8009, allocations: 0.5071 MB / 0.7868 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.8034, allocations: 1.625 MB / 0.7884 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8034, allocations: 0 / 0.7884 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8034, allocations: 0.7812 kB / 0.7884 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.8035, allocations: 0 / 0.7884 GB, free: 1.246 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.002999/0.8065, allocations: 1.448 MB / 0.7898 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.8065, allocations: 15.83 kB / 0.7898 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.8081, allocations: 241.6 kB / 0.7901 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.8089, allocations: 0.5879 MB / 0.7906 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.8089, allocations: 37.22 kB / 0.7907 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.809, allocations: 47.25 kB / 0.7907 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.8103, allocations: 0.9659 MB / 0.7917 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.8103, allocations: 5.094 kB / 0.7917 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.8104, allocations: 20.38 kB / 0.7917 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.8104, allocations: 28.17 kB / 0.7917 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.8117, allocations: 0.9414 MB / 0.7926 GB, free: 15.98 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.004951/0.8167, allocations: 4.275 MB / 0.7968 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.8176, allocations: 0.6001 MB / 0.7974 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.8182, allocations: 0.5163 MB / 0.7979 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.8193, allocations: 0.879 MB / 0.7987 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.8194, allocations: 41 kB / 0.7988 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00145/0.8209, allocations: 408.9 kB / 0.7992 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 3.687e-06/0.8209, allocations: 1.094 kB / 0.7992 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01751/0.8384, allocations: 3.842 MB / 0.8029 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.8385, allocations: 57.88 kB / 0.803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.8394, allocations: 0.7153 MB / 0.8037 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.8396, allocations: 36.11 kB / 0.8037 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.8398, allocations: 321.7 kB / 0.804 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.84, allocations: 169.8 kB / 0.8042 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.8402, allocations: 152.4 kB / 0.8043 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8404, allocations: 329.9 kB / 0.8046 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.8409, allocations: 392.9 kB / 0.805 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.8416, allocations: 491 kB / 0.8055 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.8429, allocations: 0.9191 MB / 0.8064 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8429, allocations: 0 / 0.8064 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01122/0.8541, allocations: 2.56 MB / 0.8089 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.8542, allocations: 7.781 kB / 0.8089 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8542, allocations: 2.875 kB / 0.8089 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009372/0.8636, allocations: 1.736 MB / 0.8106 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.8641, allocations: 93.3 kB / 0.8107 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.8769, allocations: 7.154 MB / 0.8177 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/0.8779, allocations: 16.97 kB / 0.8177 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.8781, allocations: 51.77 kB / 0.8177 GB, free: 7.223 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.0004724/0.8786, allocations: 210.5 kB / 0.8179 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.8789, allocations: 83.44 kB / 0.818 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/0.884, allocations: 1.723 MB / 0.8197 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.884, allocations: 19.33 kB / 0.8197 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.884, allocations: 3.406 kB / 0.8197 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8841, allocations: 0 / 0.8197 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005915/0.89, allocations: 2.551 MB / 0.8222 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.89, allocations: 3.312 kB / 0.8222 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.8905, allocations: 89.98 kB / 0.8223 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/0.894, allocations: 0.8133 MB / 0.8231 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.8941, allocations: 13.59 kB / 0.8231 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/0.9011, allocations: 4.862 MB / 0.8279 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9011, allocations: 6.469 kB / 0.8279 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/0.9065, allocations: 2.158 MB / 0.83 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.907, allocations: 228 kB / 0.8302 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.9072, allocations: 12 kB / 0.8302 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.9078, allocations: 19.98 kB / 0.8302 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.908, allocations: 59.52 kB / 0.8303 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.908, allocations: 21.09 kB / 0.8303 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006715/0.9087, allocations: 0.499 MB / 0.8308 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9087, allocations: 4 kB / 0.8308 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009957/0.9097, allocations: 287.8 kB / 0.8311 GB, free: 14.9 MB / 0.6075 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.0004705/0.9102, allocations: 209.3 kB / 0.8313 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003883/0.9141, allocations: 1.523 MB / 0.8327 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9141, allocations: 0 / 0.8327 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.9161, allocations: 0.9064 MB / 0.8336 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.9183, allocations: 462.2 kB / 0.8341 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.9216, allocations: 1.781 MB / 0.8358 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.9222, allocations: 0.9789 MB / 0.8368 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.9225, allocations: 74.61 kB / 0.8368 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/0.9225, allocations: 0 / 0.8368 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of Templates: time 0.0272/0.9497, allocations: 19.29 MB / 0.8557 GB, free: 5.812 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)