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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001773/0.001773, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.091/1.091, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7406/0.7406, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001069, allocations: 63.75 kB / 0.5049 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 80.94 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.3227/0.4387, allocations: 190.1 MB / 0.7697 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004646/0.4434, allocations: 3.988 MB / 0.7736 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.444, allocations: 15.88 kB / 0.7736 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.4449, allocations: 425.8 kB / 0.774 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.4474, allocations: 1.436 MB / 0.7754 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.4498, allocations: 1.254 MB / 0.7766 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.4511, allocations: 1.641 MB / 0.7782 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008676/0.452, allocations: 0.9507 MB / 0.7791 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008802/0.4529, allocations: 0.9305 MB / 0.78 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007728/0.4537, allocations: 0.8916 MB / 0.7809 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4538, allocations: 96 kB / 0.781 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.4553, allocations: 1.36 MB / 0.7823 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.4556, allocations: 351 kB / 0.7827 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.456, allocations: 0.5133 MB / 0.7832 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.4574, allocations: 1.737 MB / 0.7849 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4574, allocations: 0 / 0.7849 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4575, allocations: 0 / 0.7849 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.4575, allocations: 4 kB / 0.7849 GB, free: 15.44 MB / 0.6075 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.00246/0.4599, allocations: 1.442 MB / 0.7863 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.46, allocations: 12.03 kB / 0.7863 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.4601, allocations: 94.5 kB / 0.7864 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.4614, allocations: 242.7 kB / 0.7866 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.462, allocations: 0.5876 MB / 0.7872 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4621, allocations: 37 kB / 0.7872 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.4622, allocations: 52 kB / 0.7873 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.4634, allocations: 0.9648 MB / 0.7882 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4634, allocations: 4 kB / 0.7882 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.4635, allocations: 24 kB / 0.7882 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.4635, allocations: 27.92 kB / 0.7883 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.4648, allocations: 0.9406 MB / 0.7892 GB, free: 10.86 MB / 0.6075 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.004299/0.4691, allocations: 4.263 MB / 0.7933 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.4699, allocations: 0.6017 MB / 0.7939 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.4706, allocations: 0.5163 MB / 0.7944 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008386/0.4714, allocations: 0.8783 MB / 0.7953 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.4715, allocations: 38.94 kB / 0.7953 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/0.4729, allocations: 451.2 kB / 0.7958 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 1.864e-06/0.4729, allocations: 4 kB / 0.7958 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01559/0.4885, allocations: 3.837 MB / 0.7995 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4885, allocations: 59.78 kB / 0.7996 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.4892, allocations: 0.7078 MB / 0.8003 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.4893, allocations: 33.7 kB / 0.8003 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.4895, allocations: 316.6 kB / 0.8006 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.4896, allocations: 177.5 kB / 0.8008 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.4899, allocations: 150 kB / 0.8009 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.49, allocations: 330 kB / 0.8012 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.4905, allocations: 400.8 kB / 0.8016 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.4911, allocations: 485.5 kB / 0.8021 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4924, allocations: 0.918 MB / 0.803 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4924, allocations: 7.938 kB / 0.803 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01018/0.5026, allocations: 2.564 MB / 0.8055 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5026, allocations: 4 kB / 0.8055 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.5026, allocations: 4 kB / 0.8055 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008588/0.5112, allocations: 1.734 MB / 0.8072 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.5116, allocations: 99.81 kB / 0.8073 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5225, allocations: 7.143 MB / 0.8142 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.523, allocations: 31.89 kB / 0.8143 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/0.5231, allocations: 47.92 kB / 0.8143 GB, free: 284 kB / 0.6231 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.0002557/0.5234, allocations: 205.8 kB / 0.8145 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.5235, allocations: 83.39 kB / 0.8146 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.528, allocations: 1.74 MB / 0.8163 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.528, allocations: 4 kB / 0.8163 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.528, allocations: 4 kB / 0.8163 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5281, allocations: 3.984 kB / 0.8163 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/0.533, allocations: 2.548 MB / 0.8188 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5331, allocations: 4 kB / 0.8188 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.5334, allocations: 88.08 kB / 0.8189 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/0.5364, allocations: 0.8025 MB / 0.8197 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.5365, allocations: 19.98 kB / 0.8197 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/0.5421, allocations: 4.85 MB / 0.8244 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5422, allocations: 4.078 kB / 0.8244 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.5467, allocations: 2.151 MB / 0.8265 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.547, allocations: 235.9 kB / 0.8268 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5471, allocations: 12 kB / 0.8268 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.5476, allocations: 39.83 kB / 0.8268 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5477, allocations: 52.61 kB / 0.8269 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.5478, allocations: 20 kB / 0.8269 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004864/0.5482, allocations: 0.499 MB / 0.8274 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.202e-06/0.5483, allocations: 4 kB / 0.8274 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000656/0.5489, allocations: 287.8 kB / 0.8276 GB, free: 2.199 MB / 0.6387 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.005041/0.554, allocations: 2.803 MB / 0.8304 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003071/0.557, allocations: 1.523 MB / 0.8319 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5571, allocations: 0 / 0.8319 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.5586, allocations: 0.9108 MB / 0.8328 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.5603, allocations: 466.4 kB / 0.8332 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/0.5864, allocations: 10.9 MB / 0.8438 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.5869, allocations: 0.9906 MB / 0.8448 GB, free: 360 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004791/0.5874, allocations: 158.6 kB / 0.845 GB, free: 196 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.5877, allocations: 283.4 kB / 0.8452 GB, free: 15.91 MB / 0.67 GB Notification: Performance of SimCode: time 1.9e-07/0.5878, allocations: 4 kB / 0.8452 GB, free: 15.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2202/0.808, allocations: 29.32 MB / 0.8739 GB, free: 216.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001138/0.8081, allocations: 253.8 kB / 0.8741 GB, free: 216.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.828, allocations: 1.859 kB / 0.8741 GB, free: 216.2 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)