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.004815/0.004815, allocations: 96.38 kB / 15.73 MB, free: 5.996 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.001092/0.001092, allocations: 186 kB / 16.67 MB, free: 5.926 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7304/0.7304, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.72 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1419, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5049/0.6468, allocations: 192.6 MB / 0.8473 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.6521, allocations: 4.017 MB / 0.8512 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006852/0.6528, allocations: 25 kB / 0.8512 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.6539, allocations: 486.6 kB / 0.8517 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.6571, allocations: 1.59 MB / 0.8533 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.6601, allocations: 1.375 MB / 0.8546 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.6618, allocations: 1.639 MB / 0.8562 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.6629, allocations: 0.9543 MB / 0.8571 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.6643, allocations: 0.9421 MB / 0.858 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6653, allocations: 0.8524 MB / 0.8589 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.6655, allocations: 94.94 kB / 0.859 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.668, allocations: 1.315 MB / 0.8603 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.6683, allocations: 360.8 kB / 0.8606 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.6689, allocations: 0.5107 MB / 0.8611 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.6709, allocations: 1.64 MB / 0.8627 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6709, allocations: 0 / 0.8627 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6709, allocations: 2.781 kB / 0.8627 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.671, allocations: 1.031 kB / 0.8627 GB, free: 2.105 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.002583/0.6735, allocations: 1.48 MB / 0.8641 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6736, allocations: 10.78 kB / 0.8642 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.6737, allocations: 94.44 kB / 0.8642 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.6752, allocations: 241.9 kB / 0.8645 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.6759, allocations: 0.6126 MB / 0.8651 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.676, allocations: 34.31 kB / 0.8651 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6761, allocations: 58.19 kB / 0.8652 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.6773, allocations: 0.9674 MB / 0.8661 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6773, allocations: 5.906 kB / 0.8661 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.6774, allocations: 23.69 kB / 0.8661 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.6774, allocations: 27.66 kB / 0.8662 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.6787, allocations: 0.9393 MB / 0.8671 GB, free: 0.75 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.004366/0.6831, allocations: 4.258 MB / 0.8712 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.6839, allocations: 0.5997 MB / 0.8718 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.6845, allocations: 0.5204 MB / 0.8723 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008832/0.6854, allocations: 0.8714 MB / 0.8732 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6855, allocations: 38.69 kB / 0.8732 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001312/0.6868, allocations: 421.5 kB / 0.8736 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.6868, allocations: 0 / 0.8736 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01643/0.7032, allocations: 3.84 MB / 0.8774 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.7033, allocations: 60.28 kB / 0.8774 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.7041, allocations: 0.7088 MB / 0.8781 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.616e-05/0.7042, allocations: 36.3 kB / 0.8782 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.7044, allocations: 320.6 kB / 0.8785 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.7045, allocations: 184.7 kB / 0.8786 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.7048, allocations: 155.4 kB / 0.8788 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.7049, allocations: 328.7 kB / 0.8791 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.7055, allocations: 397.5 kB / 0.8795 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.7062, allocations: 494.8 kB / 0.88 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.7075, allocations: 0.9202 MB / 0.8809 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7075, allocations: 0 / 0.8809 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01044/0.7179, allocations: 2.563 MB / 0.8834 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7179, allocations: 6.969 kB / 0.8834 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.718, allocations: 3.719 kB / 0.8834 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008923/0.7269, allocations: 1.733 MB / 0.8851 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.7274, allocations: 93.44 kB / 0.8851 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.7394, allocations: 7.14 MB / 0.8921 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.7403, allocations: 24.22 kB / 0.8921 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.7404, allocations: 48.02 kB / 0.8922 GB, free: 6.441 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.0003798/0.7408, allocations: 208.9 kB / 0.8924 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.741, allocations: 83.02 kB / 0.8925 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/0.7458, allocations: 1.742 MB / 0.8942 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7458, allocations: 6.375 kB / 0.8942 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.7458, allocations: 4.594 kB / 0.8942 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7458, allocations: 3.984 kB / 0.8942 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.7513, allocations: 2.55 MB / 0.8967 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7513, allocations: 7.188 kB / 0.8967 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.7517, allocations: 89.67 kB / 0.8968 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.7551, allocations: 0.7986 MB / 0.8975 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.7551, allocations: 14.72 kB / 0.8976 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006246/0.7614, allocations: 4.849 MB / 0.9023 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7614, allocations: 3.469 kB / 0.9023 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005049/0.7664, allocations: 2.157 MB / 0.9044 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.7669, allocations: 237 kB / 0.9046 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.7671, allocations: 13.66 kB / 0.9046 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.7677, allocations: 25.11 kB / 0.9047 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.7679, allocations: 52.02 kB / 0.9047 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.768, allocations: 19.16 kB / 0.9047 GB, free: 13.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005954/0.7686, allocations: 0.5027 MB / 0.9052 GB, free: 13.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7686, allocations: 0 / 0.9052 GB, free: 13.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009092/0.7695, allocations: 287.8 kB / 0.9055 GB, free: 13 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.005521/0.775, allocations: 2.798 MB / 0.9082 GB, free: 10.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.7784, allocations: 1.48 MB / 0.9097 GB, free: 8.691 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7784, allocations: 0 / 0.9097 GB, free: 8.691 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.7801, allocations: 0.9139 MB / 0.9106 GB, free: 7.766 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.7821, allocations: 464 kB / 0.911 GB, free: 7.328 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/0.8109, allocations: 10.47 MB / 0.9212 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.8114, allocations: 0.9828 MB / 0.9222 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000602/0.812, allocations: 158.6 kB / 0.9224 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.8124, allocations: 283.3 kB / 0.9226 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.8124, allocations: 3.188 kB / 0.9226 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.8692, allocations: 29.65 MB / 0.9516 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.12, allocations: 7.938 kB / 0.9516 GB, free: 14.09 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)