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.001231/0.001231, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001284/0.001284, allocations: 190.4 kB / 17.31 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7345/0.7345, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2977, allocations: 80.9 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4772/0.7749, allocations: 192.6 MB / 0.7739 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005402/0.7803, allocations: 4.009 MB / 0.7778 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007233/0.7811, allocations: 19.81 kB / 0.7778 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.7821, allocations: 481.3 kB / 0.7783 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.785, allocations: 1.533 MB / 0.7798 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.7877, allocations: 1.354 MB / 0.7811 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.7897, allocations: 1.634 MB / 0.7827 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009102/0.7906, allocations: 0.9553 MB / 0.7836 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.7918, allocations: 0.9223 MB / 0.7845 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.7926, allocations: 0.8501 MB / 0.7853 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.7927, allocations: 96.34 kB / 0.7854 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.7948, allocations: 1.31 MB / 0.7867 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.7951, allocations: 356.9 kB / 0.787 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.7955, allocations: 0.5087 MB / 0.7875 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.7972, allocations: 1.633 MB / 0.7891 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7972, allocations: 3.375 kB / 0.7891 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7973, allocations: 0.9062 kB / 0.7891 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7973, allocations: 3.188 kB / 0.7891 GB, free: 1.219 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.002591/0.7999, allocations: 1.443 MB / 0.7906 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.7999, allocations: 13.61 kB / 0.7906 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.8014, allocations: 241.6 kB / 0.7908 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.8023, allocations: 0.6094 MB / 0.7914 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.8023, allocations: 39.91 kB / 0.7914 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.8024, allocations: 53.97 kB / 0.7915 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.8036, allocations: 0.9588 MB / 0.7924 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.8036, allocations: 3.625 kB / 0.7924 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.8037, allocations: 26.47 kB / 0.7924 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.8037, allocations: 28.94 kB / 0.7925 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.805, allocations: 0.9353 MB / 0.7934 GB, free: 15.95 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.004383/0.8093, allocations: 4.259 MB / 0.7975 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.8101, allocations: 0.6034 MB / 0.7981 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.8108, allocations: 0.515 MB / 0.7986 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009213/0.8117, allocations: 0.8757 MB / 0.7995 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8118, allocations: 39.97 kB / 0.7995 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001255/0.813, allocations: 415.7 kB / 0.7999 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/0.813, allocations: 0.7188 kB / 0.7999 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01524/0.8283, allocations: 3.844 MB / 0.8037 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.8284, allocations: 55.03 kB / 0.8037 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.8294, allocations: 0.7133 MB / 0.8044 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.8295, allocations: 34.92 kB / 0.8045 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.8297, allocations: 321.6 kB / 0.8048 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.83, allocations: 171.4 kB / 0.8049 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.8302, allocations: 159.4 kB / 0.8051 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8304, allocations: 324.1 kB / 0.8054 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.8309, allocations: 393 kB / 0.8058 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.8316, allocations: 492.8 kB / 0.8062 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.8328, allocations: 0.9227 MB / 0.8071 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8329, allocations: 0 / 0.8071 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01046/0.8433, allocations: 2.558 MB / 0.8096 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.8434, allocations: 8.031 kB / 0.8096 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8434, allocations: 3.406 kB / 0.8097 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008728/0.8521, allocations: 1.735 MB / 0.8113 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.8527, allocations: 92.03 kB / 0.8114 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.8643, allocations: 7.146 MB / 0.8184 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008608/0.8652, allocations: 16.09 kB / 0.8184 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.8654, allocations: 49.89 kB / 0.8185 GB, free: 7.199 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.0004325/0.8658, allocations: 208.2 kB / 0.8187 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.8661, allocations: 82.84 kB / 0.8188 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/0.8709, allocations: 1.736 MB / 0.8204 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8709, allocations: 10.62 kB / 0.8205 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.8709, allocations: 3.406 kB / 0.8205 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.871, allocations: 3.984 kB / 0.8205 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.8765, allocations: 2.555 MB / 0.823 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8765, allocations: 2.5 kB / 0.823 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.877, allocations: 86.28 kB / 0.823 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003237/0.8802, allocations: 0.8018 MB / 0.8238 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.8803, allocations: 15.16 kB / 0.8238 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/0.8866, allocations: 4.865 MB / 0.8286 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8866, allocations: 2.5 kB / 0.8286 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/0.8917, allocations: 2.148 MB / 0.8307 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.8922, allocations: 228 kB / 0.8309 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.8924, allocations: 12 kB / 0.8309 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.8931, allocations: 23.98 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.8933, allocations: 58.17 kB / 0.831 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.8934, allocations: 23.19 kB / 0.831 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006254/0.894, allocations: 0.4951 MB / 0.8315 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.894, allocations: 0 / 0.8315 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001012/0.895, allocations: 291.8 kB / 0.8318 GB, free: 14.87 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.0004772/0.8955, allocations: 207.5 kB / 0.832 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.8989, allocations: 1.476 MB / 0.8334 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8989, allocations: 1.203 kB / 0.8334 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.9005, allocations: 0.9184 MB / 0.8343 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.9024, allocations: 453 kB / 0.8348 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.9051, allocations: 1.706 MB / 0.8364 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.9056, allocations: 0.9867 MB / 0.8374 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005444/0.9062, allocations: 158.6 kB / 0.8375 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.9064, allocations: 71.42 kB / 0.8376 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.9064, allocations: 0 / 0.8376 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.03263/0.939, allocations: 22.62 MB / 0.8597 GB, free: 2.555 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)