Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.004869/0.004869, allocations: 98.69 kB / 15.73 MB, free: 6.07 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.001242/0.001242, allocations: 192.4 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.803/0.803, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.97 kB / 0.5809 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1693, allocations: 80.2 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6148/0.7842, allocations: 179.4 MB / 0.8344 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.7923, allocations: 7.828 MB / 0.842 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.793, allocations: 24.02 kB / 0.8421 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.7937, allocations: 241.5 kB / 0.8423 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.797, allocations: 1.223 MB / 0.8435 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.7989, allocations: 0.7293 MB / 0.8442 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.8002, allocations: 1.079 MB / 0.8453 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.8008, allocations: 407.5 kB / 0.8456 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.8031, allocations: 0.8337 MB / 0.8465 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.8038, allocations: 437.6 kB / 0.8469 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.8038, allocations: 35.69 kB / 0.8469 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.8055, allocations: 0.948 MB / 0.8478 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.8057, allocations: 156.8 kB / 0.848 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.8059, allocations: 246.1 kB / 0.8482 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.8074, allocations: 0.949 MB / 0.8491 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8074, allocations: 0 / 0.8491 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8074, allocations: 3.281 kB / 0.8491 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.8074, allocations: 0 / 0.8491 GB, free: 2.492 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009758/0.8084, allocations: 0.8219 MB / 0.85 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.8084, allocations: 10.22 kB / 0.85 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.8085, allocations: 76.55 kB / 0.85 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.8094, allocations: 146.9 kB / 0.8502 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.8098, allocations: 421.1 kB / 0.8506 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8099, allocations: 31.03 kB / 0.8506 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.8099, allocations: 35.84 kB / 0.8506 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.8105, allocations: 447.2 kB / 0.8511 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.8105, allocations: 0 / 0.8511 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.8106, allocations: 17.91 kB / 0.8511 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.8106, allocations: 9.906 kB / 0.8511 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.8111, allocations: 327.8 kB / 0.8514 GB, free: 1.504 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.001751/0.8129, allocations: 2.015 MB / 0.8534 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.8133, allocations: 235 kB / 0.8536 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.8135, allocations: 145.1 kB / 0.8537 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.8141, allocations: 306.9 kB / 0.854 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.8141, allocations: 45.86 kB / 0.8541 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.8141, allocations: 3.984 kB / 0.8541 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.000902/0.815, allocations: 451.4 kB / 0.8545 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.8151, allocations: 52.09 kB / 0.8546 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.8154, allocations: 404.4 kB / 0.8549 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.8155, allocations: 29.02 kB / 0.855 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.8156, allocations: 228.5 kB / 0.8552 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.8157, allocations: 88.62 kB / 0.8553 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.8158, allocations: 62.52 kB / 0.8553 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.8159, allocations: 354.4 kB / 0.8557 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.8161, allocations: 110.8 kB / 0.8558 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.8164, allocations: 182 kB / 0.8559 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.8168, allocations: 309.7 kB / 0.8562 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8169, allocations: 0 / 0.8562 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000582/0.8174, allocations: 373.2 kB / 0.8566 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8175, allocations: 7.125 kB / 0.8566 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.8175, allocations: 2.094 kB / 0.8566 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8175, allocations: 6.125 kB / 0.8566 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.8178, allocations: 58.89 kB / 0.8567 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8178, allocations: 2.625 kB / 0.8567 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.818, allocations: 40.16 kB / 0.8567 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.8181, allocations: 17.22 kB / 0.8567 GB, free: 14.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.8183, allocations: 164.9 kB / 0.8569 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.8183, allocations: 46.92 kB / 0.8569 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/0.819, allocations: 370.8 kB / 0.8573 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.819, allocations: 2.656 kB / 0.8573 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.819, allocations: 0.9375 kB / 0.8573 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.819, allocations: 0 / 0.8573 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.8203, allocations: 0.9476 MB / 0.8582 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8203, allocations: 3.062 kB / 0.8582 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.8205, allocations: 43.75 kB / 0.8583 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8205, allocations: 7.25 kB / 0.8583 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.8206, allocations: 6.719 kB / 0.8583 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8206, allocations: 9.109 kB / 0.8583 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8206, allocations: 3.25 kB / 0.8583 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.8215, allocations: 0.628 MB / 0.8589 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.8217, allocations: 148.8 kB / 0.859 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.8217, allocations: 9.656 kB / 0.859 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.8219, allocations: 12.12 kB / 0.8591 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.822, allocations: 22.34 kB / 0.8591 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.822, allocations: 8.312 kB / 0.8591 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002512/0.8223, allocations: 287.9 kB / 0.8594 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8223, allocations: 0 / 0.8594 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004464/0.8227, allocations: 117.2 kB / 0.8595 GB, free: 13.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.8242, allocations: 1.232 MB / 0.8607 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.8248, allocations: 284.2 kB / 0.8609 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8248, allocations: 0 / 0.8609 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.8251, allocations: 155.3 kB / 0.8611 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.8262, allocations: 231 kB / 0.8613 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.8307, allocations: 3.804 MB / 0.865 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.8312, allocations: 0.8298 MB / 0.8658 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.8315, allocations: 100.5 kB / 0.8659 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.8317, allocations: 136.2 kB / 0.8661 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.8317, allocations: 0 / 0.8661 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.8662, allocations: 11.69 MB / 0.8775 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/9.142, allocations: 2.031 kB / 0.8775 GB, free: 9.297 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)