Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_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.005603/0.005603, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001344/0.001343, allocations: 191.9 kB / 16.67 MB, free: 5.93 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.503/1.503, 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/package.mo): time 0.9259/0.9259, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001945, allocations: 67.83 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1831, allocations: 80.2 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6456/0.8288, allocations: 192.6 MB / 0.8473 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007185/0.836, allocations: 4.016 MB / 0.8512 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.8372, allocations: 23.44 kB / 0.8512 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.8389, allocations: 469.7 kB / 0.8517 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.8431, allocations: 1.541 MB / 0.8532 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.8466, allocations: 1.352 MB / 0.8545 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.8491, allocations: 1.625 MB / 0.8561 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.8505, allocations: 0.9553 MB / 0.857 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.8525, allocations: 0.9167 MB / 0.8579 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.8538, allocations: 0.8631 MB / 0.8588 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.854, allocations: 95.19 kB / 0.8589 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.8571, allocations: 1.303 MB / 0.8601 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.8576, allocations: 355 kB / 0.8605 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.8584, allocations: 0.5094 MB / 0.861 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.8619, allocations: 1.65 MB / 0.8626 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8619, allocations: 0 / 0.8626 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8619, allocations: 0 / 0.8626 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.8619, allocations: 0 / 0.8626 GB, free: 5.961 MB / 0.6231 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.003671/0.8656, allocations: 1.475 MB / 0.864 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.8657, allocations: 12.03 kB / 0.864 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.8658, allocations: 94.52 kB / 0.8641 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.8675, allocations: 239.2 kB / 0.8643 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.8686, allocations: 0.6193 MB / 0.865 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.8687, allocations: 37 kB / 0.865 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.8688, allocations: 55.92 kB / 0.865 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.8705, allocations: 0.9648 MB / 0.866 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.8705, allocations: 0 / 0.866 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.8706, allocations: 24 kB / 0.866 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.8707, allocations: 39.86 kB / 0.866 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.8724, allocations: 0.9368 MB / 0.867 GB, free: 1.293 MB / 0.6231 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.006287/0.8787, allocations: 4.251 MB / 0.8711 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.8798, allocations: 0.5989 MB / 0.8717 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008855/0.8807, allocations: 0.5175 MB / 0.8722 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.8819, allocations: 0.8744 MB / 0.8731 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.882, allocations: 42.94 kB / 0.8731 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001581/0.8836, allocations: 423.4 kB / 0.8735 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.446e-06/0.8836, allocations: 0 / 0.8735 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01867/0.9023, allocations: 3.849 MB / 0.8773 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.9024, allocations: 55.84 kB / 0.8773 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.9035, allocations: 0.7116 MB / 0.878 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.9036, allocations: 41.7 kB / 0.878 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.9039, allocations: 320.9 kB / 0.8784 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.9041, allocations: 182.3 kB / 0.8785 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.9044, allocations: 146.1 kB / 0.8787 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9046, allocations: 333.9 kB / 0.879 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.9053, allocations: 396.9 kB / 0.8794 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008268/0.9061, allocations: 485.5 kB / 0.8798 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.9078, allocations: 0.9219 MB / 0.8807 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.9078, allocations: 0.5625 kB / 0.8807 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01206/0.9199, allocations: 2.564 MB / 0.8832 GB, free: 80 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.9199, allocations: 9.562 kB / 0.8832 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.9199, allocations: 0 / 0.8832 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.9302, allocations: 1.73 MB / 0.8849 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.9308, allocations: 102.7 kB / 0.885 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.945, allocations: 7.139 MB / 0.892 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.9461, allocations: 20.05 kB / 0.892 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.9463, allocations: 51.86 kB / 0.8921 GB, free: 6.738 MB / 0.6544 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.000545/0.9469, allocations: 206.6 kB / 0.8923 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.9472, allocations: 87.42 kB / 0.8923 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005493/0.9527, allocations: 1.743 MB / 0.8941 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.9527, allocations: 4 kB / 0.8941 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.9528, allocations: 4 kB / 0.8941 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.9528, allocations: 3.984 kB / 0.8941 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006352/0.9591, allocations: 2.544 MB / 0.8965 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.9592, allocations: 0 / 0.8965 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.9596, allocations: 91.83 kB / 0.8966 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/0.9633, allocations: 0.8017 MB / 0.8974 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/0.9633, allocations: 19.98 kB / 0.8974 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.9708, allocations: 4.861 MB / 0.9022 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9708, allocations: 8 kB / 0.9022 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/0.9765, allocations: 2.155 MB / 0.9043 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.977, allocations: 228.5 kB / 0.9045 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.9771, allocations: 12 kB / 0.9045 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.9777, allocations: 27.98 kB / 0.9046 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.9779, allocations: 48.44 kB / 0.9046 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.978, allocations: 19.98 kB / 0.9046 GB, free: 9.445 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006885/0.9787, allocations: 0.5106 MB / 0.9051 GB, free: 8.938 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9787, allocations: 0 / 0.9051 GB, free: 8.938 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009528/0.9797, allocations: 291.7 kB / 0.9054 GB, free: 8.652 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.006236/0.9859, allocations: 2.804 MB / 0.9081 GB, free: 5.805 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003795/0.9897, allocations: 1.469 MB / 0.9096 GB, free: 4.312 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.9898, allocations: 256 / 0.9096 GB, free: 4.312 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.9918, allocations: 0.9144 MB / 0.9105 GB, free: 3.371 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.9943, allocations: 461.2 kB / 0.9109 GB, free: 2.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03225/1.027, allocations: 10.46 MB / 0.9211 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/1.027, allocations: 0.9828 MB / 0.9221 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007367/1.028, allocations: 166.6 kB / 0.9222 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/1.028, allocations: 283.3 kB / 0.9225 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/1.028, allocations: 4 kB / 0.9225 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/1.096, allocations: 29.64 MB / 0.9515 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.4, allocations: 8.797 kB / 0.9515 GB, free: 9.496 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)