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.001234/0.001234, allocations: 104.1 kB / 16.41 MB, free: 6.449 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.001353/0.001353, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 74.27 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 80.91 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6936/0.8615, allocations: 192.6 MB / 0.8534 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007535/0.8691, allocations: 4.023 MB / 0.8573 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.8706, allocations: 23.62 kB / 0.8573 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.8723, allocations: 468.9 kB / 0.8578 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.8769, allocations: 1.544 MB / 0.8593 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.881, allocations: 1.346 MB / 0.8606 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.8839, allocations: 1.636 MB / 0.8622 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.8855, allocations: 0.9451 MB / 0.8631 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.8877, allocations: 0.9339 MB / 0.8641 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.8894, allocations: 0.8533 MB / 0.8649 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.8897, allocations: 104 kB / 0.865 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.8926, allocations: 1.301 MB / 0.8663 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.8931, allocations: 355 kB / 0.8666 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.8938, allocations: 0.5094 MB / 0.8671 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.8967, allocations: 1.64 MB / 0.8687 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8967, allocations: 0 / 0.8687 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8967, allocations: 0 / 0.8687 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.8967, allocations: 0 / 0.8687 GB, free: 14.89 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.003119/0.8998, allocations: 1.445 MB / 0.8701 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8999, allocations: 9.109 kB / 0.8701 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.9015, allocations: 242.8 kB / 0.8703 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.9025, allocations: 0.611 MB / 0.8709 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.9025, allocations: 37 kB / 0.871 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.9026, allocations: 51.91 kB / 0.871 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.9042, allocations: 0.963 MB / 0.872 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.9042, allocations: 4 kB / 0.872 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.9043, allocations: 27.98 kB / 0.872 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.9044, allocations: 27.98 kB / 0.872 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.9059, allocations: 0.9445 MB / 0.8729 GB, free: 10.38 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.9115, allocations: 4.251 MB / 0.8771 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.9125, allocations: 0.5978 MB / 0.8777 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007741/0.9133, allocations: 0.5213 MB / 0.8782 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.9144, allocations: 0.8744 MB / 0.879 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.9144, allocations: 42.98 kB / 0.8791 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001539/0.916, allocations: 411.2 kB / 0.8795 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/0.916, allocations: 0 / 0.8795 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01816/0.9342, allocations: 3.837 MB / 0.8832 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.9343, allocations: 59.78 kB / 0.8833 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.9354, allocations: 0.7078 MB / 0.884 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.9356, allocations: 37.7 kB / 0.884 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.9358, allocations: 320.6 kB / 0.8843 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.936, allocations: 177.4 kB / 0.8845 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.9363, allocations: 154 kB / 0.8846 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9364, allocations: 326 kB / 0.8849 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.9371, allocations: 397.8 kB / 0.8853 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/0.9379, allocations: 493.4 kB / 0.8858 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.9393, allocations: 0.9219 MB / 0.8867 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.9393, allocations: 0 / 0.8867 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01163/0.951, allocations: 2.556 MB / 0.8892 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.9511, allocations: 8.125 kB / 0.8892 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9511, allocations: 4 kB / 0.8892 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009634/0.9607, allocations: 1.737 MB / 0.8909 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.9613, allocations: 90.12 kB / 0.891 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.9741, allocations: 7.143 MB / 0.898 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000922/0.9751, allocations: 20.05 kB / 0.898 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.9752, allocations: 43.94 kB / 0.898 GB, free: 15.85 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.0004135/0.9756, allocations: 209.7 kB / 0.8982 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.9758, allocations: 79.06 kB / 0.8983 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/0.9808, allocations: 1.747 MB / 0.9 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.9809, allocations: 4 kB / 0.9 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9809, allocations: 4 kB / 0.9 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.9809, allocations: 3.984 kB / 0.9 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/0.9868, allocations: 2.544 MB / 0.9025 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9868, allocations: 4 kB / 0.9025 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.9873, allocations: 87.89 kB / 0.9026 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003434/0.9908, allocations: 0.7983 MB / 0.9034 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.9909, allocations: 20 kB / 0.9034 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007033/0.9979, allocations: 4.864 MB / 0.9081 GB, free: 5.113 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9979, allocations: 4.078 kB / 0.9081 GB, free: 5.109 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005741/1.004, allocations: 2.143 MB / 0.9102 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/1.004, allocations: 235.9 kB / 0.9105 GB, free: 2.672 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.005, allocations: 19.98 kB / 0.9105 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/1.005, allocations: 23.98 kB / 0.9105 GB, free: 2.629 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.006, allocations: 44.44 kB / 0.9105 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/1.006, allocations: 24 kB / 0.9106 GB, free: 2.562 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008706/1.007, allocations: 0.499 MB / 0.911 GB, free: 2.066 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 0 / 0.911 GB, free: 2.066 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001387/1.008, allocations: 287.7 kB / 0.9113 GB, free: 1.785 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.0007167/1.009, allocations: 224.6 kB / 0.9115 GB, free: 1.562 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004192/1.013, allocations: 1.461 MB / 0.913 GB, free: 72 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.013, allocations: 0 / 0.913 GB, free: 72 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/1.015, allocations: 0.9147 MB / 0.9139 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.018, allocations: 458.6 kB / 0.9143 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/1.023, allocations: 1.746 MB / 0.916 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.024, allocations: 0.9867 MB / 0.917 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.024, allocations: 63.42 kB / 0.917 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of SimCode: time 1.573e-06/1.024, allocations: 0 / 0.917 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of Templates: time 0.0334/1.057, allocations: 19.37 MB / 0.9359 GB, free: 8.543 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)