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.006693/0.006693, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.00163/0.00163, allocations: 194.4 kB / 16.68 MB, free: 5.523 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.854/0.854, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.36 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1818, allocations: 80.92 MB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.7116/0.8935, allocations: 192.6 MB / 0.8527 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006672/0.9002, allocations: 4.015 MB / 0.8567 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.9014, allocations: 20.84 kB / 0.8567 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.9029, allocations: 476.9 kB / 0.8571 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.9071, allocations: 1.538 MB / 0.8586 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.9108, allocations: 1.359 MB / 0.86 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.9137, allocations: 1.629 MB / 0.8616 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.9151, allocations: 0.946 MB / 0.8625 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.9171, allocations: 0.9254 MB / 0.8634 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.9183, allocations: 0.8567 MB / 0.8642 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.9185, allocations: 92 kB / 0.8643 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.9215, allocations: 1.309 MB / 0.8656 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.9219, allocations: 347 kB / 0.8659 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.9227, allocations: 0.5172 MB / 0.8664 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.9265, allocations: 1.647 MB / 0.868 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.9265, allocations: 4 kB / 0.868 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9265, allocations: 0 / 0.868 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.9266, allocations: 0 / 0.868 GB, free: 15.04 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.003298/0.9299, allocations: 1.475 MB / 0.8695 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.9299, allocations: 13.11 kB / 0.8695 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.9316, allocations: 235.2 kB / 0.8697 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.9326, allocations: 0.6155 MB / 0.8703 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.9327, allocations: 37 kB / 0.8704 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.9328, allocations: 52 kB / 0.8704 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.9343, allocations: 0.9686 MB / 0.8713 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.9343, allocations: 4 kB / 0.8714 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.9344, allocations: 24 kB / 0.8714 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.9345, allocations: 24 kB / 0.8714 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.936, allocations: 0.9445 MB / 0.8723 GB, free: 10.5 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.005609/0.9416, allocations: 4.263 MB / 0.8765 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009735/0.9426, allocations: 0.5994 MB / 0.8771 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007627/0.9434, allocations: 0.5167 MB / 0.8776 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.9445, allocations: 0.8744 MB / 0.8784 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.9445, allocations: 39.88 kB / 0.8785 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001515/0.946, allocations: 419.5 kB / 0.8789 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.536e-06/0.9461, allocations: 0 / 0.8789 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01749/0.9636, allocations: 3.838 MB / 0.8826 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.9636, allocations: 67.78 kB / 0.8827 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.9647, allocations: 0.7078 MB / 0.8834 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.9648, allocations: 33.7 kB / 0.8834 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.9651, allocations: 324.8 kB / 0.8837 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.9653, allocations: 186.4 kB / 0.8839 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.9655, allocations: 146.1 kB / 0.884 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9657, allocations: 325.9 kB / 0.8843 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006621/0.9663, allocations: 408.8 kB / 0.8847 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.9671, allocations: 489.5 kB / 0.8852 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.9685, allocations: 0.9141 MB / 0.8861 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.9686, allocations: 8 kB / 0.8861 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01121/0.9798, allocations: 2.564 MB / 0.8886 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.9798, allocations: 4 kB / 0.8886 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.9799, allocations: 6.375 kB / 0.8886 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009511/0.9894, allocations: 1.73 MB / 0.8903 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.9899, allocations: 91.88 kB / 0.8904 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.003, allocations: 7.15 MB / 0.8974 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.004, allocations: 20.12 kB / 0.8974 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.004, allocations: 51.94 kB / 0.8974 GB, free: 15.93 MB / 0.67 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.0005369/1.005, allocations: 205.7 kB / 0.8976 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/1.005, allocations: 83.48 kB / 0.8977 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/1.01, allocations: 1.742 MB / 0.8994 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.01, allocations: 8 kB / 0.8994 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.01, allocations: 4 kB / 0.8994 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.01, allocations: 3.984 kB / 0.8994 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/1.016, allocations: 2.536 MB / 0.9019 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.016, allocations: 6.562 kB / 0.9019 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/1.017, allocations: 96.06 kB / 0.902 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/1.02, allocations: 0.7938 MB / 0.9028 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/1.02, allocations: 16 kB / 0.9028 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/1.027, allocations: 4.859 MB / 0.9075 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.027, allocations: 7.922 kB / 0.9075 GB, free: 5.191 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/1.033, allocations: 2.155 MB / 0.9097 GB, free: 2.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/1.034, allocations: 240.4 kB / 0.9099 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/1.034, allocations: 16 kB / 0.9099 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/1.035, allocations: 23.97 kB / 0.9099 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.035, allocations: 52.44 kB / 0.91 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/1.035, allocations: 20 kB / 0.91 GB, free: 2.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007087/1.036, allocations: 0.499 MB / 0.9105 GB, free: 2.133 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.036, allocations: 4 kB / 0.9105 GB, free: 2.129 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001078/1.037, allocations: 279.8 kB / 0.9107 GB, free: 1.855 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.0006117/1.037, allocations: 220.7 kB / 0.911 GB, free: 1.637 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003616/1.041, allocations: 1.468 MB / 0.9124 GB, free: 140 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.041, allocations: 0 / 0.9124 GB, free: 140 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/1.043, allocations: 0.9148 MB / 0.9133 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.045, allocations: 460.8 kB / 0.9137 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/1.048, allocations: 1.729 MB / 0.9154 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/1.048, allocations: 0.9789 MB / 0.9164 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005793/1.049, allocations: 166.6 kB / 0.9165 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/1.049, allocations: 67.42 kB / 0.9166 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/1.049, allocations: 0 / 0.9166 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of Templates: time 0.03649/1.086, allocations: 22.75 MB / 0.9388 GB, free: 5.18 MB / 0.7012 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)