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.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.223/1.223, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6926/0.6926, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.66 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.314, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1739/0.488, allocations: 192.6 MB / 0.7683 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005351/0.4934, allocations: 4.025 MB / 0.7722 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.4939, allocations: 23.88 kB / 0.7723 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009891/0.4949, allocations: 469 kB / 0.7727 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.4977, allocations: 1.528 MB / 0.7742 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.5004, allocations: 1.358 MB / 0.7755 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.5021, allocations: 1.623 MB / 0.7771 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.5031, allocations: 0.9548 MB / 0.778 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.5042, allocations: 0.915 MB / 0.7789 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008721/0.5051, allocations: 0.8604 MB / 0.7798 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.5053, allocations: 96 kB / 0.7799 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.5073, allocations: 1.301 MB / 0.7811 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.5076, allocations: 355 kB / 0.7815 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.5081, allocations: 0.5133 MB / 0.782 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.5098, allocations: 1.621 MB / 0.7836 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5098, allocations: 0 / 0.7836 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5098, allocations: 4 kB / 0.7836 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5099, allocations: 4 kB / 0.7836 GB, free: 0.5781 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.00267/0.5125, allocations: 1.445 MB / 0.785 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5126, allocations: 12.03 kB / 0.785 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.5127, allocations: 94.52 kB / 0.7851 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.5141, allocations: 238.6 kB / 0.7853 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.5149, allocations: 0.5838 MB / 0.7859 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.5149, allocations: 37 kB / 0.7859 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.515, allocations: 51.98 kB / 0.786 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5163, allocations: 0.9648 MB / 0.7869 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5164, allocations: 7.844 kB / 0.7869 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.5164, allocations: 27.88 kB / 0.7869 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.5165, allocations: 31.92 kB / 0.787 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.5179, allocations: 0.9407 MB / 0.7879 GB, free: 11.98 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.004661/0.5225, allocations: 4.258 MB / 0.792 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.5234, allocations: 0.5939 MB / 0.7926 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.5241, allocations: 0.5238 MB / 0.7931 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009353/0.5251, allocations: 0.8783 MB / 0.794 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5251, allocations: 39 kB / 0.794 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001365/0.5265, allocations: 411.2 kB / 0.7944 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 2.465e-06/0.5265, allocations: 0 / 0.7944 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01712/0.5436, allocations: 3.841 MB / 0.7982 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.5437, allocations: 63.78 kB / 0.7982 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.5445, allocations: 0.7078 MB / 0.7989 GB, free: 228 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/0.5446, allocations: 33.7 kB / 0.799 GB, free: 188 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.5448, allocations: 324.6 kB / 0.7993 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.545, allocations: 173.4 kB / 0.7994 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.5452, allocations: 146.1 kB / 0.7996 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5453, allocations: 330 kB / 0.7999 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.5459, allocations: 392.9 kB / 0.8003 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.5466, allocations: 485.5 kB / 0.8007 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.548, allocations: 0.9258 MB / 0.8016 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.548, allocations: 0 / 0.8016 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01101/0.559, allocations: 2.564 MB / 0.8041 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.559, allocations: 11.94 kB / 0.8041 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.559, allocations: 0 / 0.8041 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009397/0.5684, allocations: 1.734 MB / 0.8058 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.5689, allocations: 95.86 kB / 0.8059 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.5807, allocations: 7.146 MB / 0.8129 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.5815, allocations: 24.05 kB / 0.8129 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.5816, allocations: 47.92 kB / 0.813 GB, free: 1.441 MB / 0.6387 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.000334/0.5819, allocations: 207.2 kB / 0.8132 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.5821, allocations: 83 kB / 0.8132 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2034/0.7855, allocations: 1.735 MB / 0.8149 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.7856, allocations: 8.75 kB / 0.8149 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7856, allocations: 3.906 kB / 0.815 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.7856, allocations: 3.656 kB / 0.815 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.7912, allocations: 2.548 MB / 0.8174 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7912, allocations: 2.703 kB / 0.8174 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.7916, allocations: 84.11 kB / 0.8175 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003274/0.7949, allocations: 0.8097 MB / 0.8183 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.7949, allocations: 17.12 kB / 0.8183 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.8006, allocations: 4.849 MB / 0.8231 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8006, allocations: 2.031 kB / 0.8231 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004892/0.8055, allocations: 2.15 MB / 0.8252 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.8058, allocations: 234.3 kB / 0.8254 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.8059, allocations: 12.81 kB / 0.8254 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.8065, allocations: 26.2 kB / 0.8254 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.8066, allocations: 48.75 kB / 0.8255 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.8067, allocations: 20.77 kB / 0.8255 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005452/0.8073, allocations: 0.496 MB / 0.826 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8073, allocations: 0 / 0.826 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000816/0.8081, allocations: 292.2 kB / 0.8263 GB, free: 214.5 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.005086/0.8132, allocations: 2.808 MB / 0.829 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.8163, allocations: 1.521 MB / 0.8305 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8163, allocations: 0 / 0.8305 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.8179, allocations: 0.9119 MB / 0.8314 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.8197, allocations: 465.4 kB / 0.8318 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/0.8461, allocations: 10.68 MB / 0.8423 GB, free: 206 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.8465, allocations: 0.985 MB / 0.8432 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006729/0.8472, allocations: 165.8 kB / 0.8434 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.8475, allocations: 284 kB / 0.8436 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.8475, allocations: 0 / 0.8436 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04482/0.8924, allocations: 29.43 MB / 0.8724 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.026/9.919, allocations: 8.578 kB / 0.8724 GB, free: 179.1 MB / 0.6387 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)