Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 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.001175/0.001175, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 60.31 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4167, allocations: 80.21 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.179/0.5958, allocations: 167.5 MB / 0.7438 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007338/0.6032, allocations: 6.551 MB / 0.7502 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.6036, allocations: 11.94 kB / 0.7502 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.6041, allocations: 170.8 kB / 0.7504 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.606, allocations: 0.8478 MB / 0.7512 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.6069, allocations: 322.9 kB / 0.7515 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.6076, allocations: 0.7135 MB / 0.7522 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.6081, allocations: 278.5 kB / 0.7525 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.6091, allocations: 0.5525 MB / 0.753 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.6095, allocations: 267 kB / 0.7533 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.6096, allocations: 27.98 kB / 0.7533 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.6102, allocations: 339.2 kB / 0.7536 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.6103, allocations: 103.7 kB / 0.7537 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.6105, allocations: 167.1 kB / 0.7539 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.6111, allocations: 462.6 kB / 0.7543 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6111, allocations: 0 / 0.7543 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6111, allocations: 3.938 kB / 0.7543 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.6111, allocations: 0 / 0.7543 GB, free: 14.64 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008041/0.6119, allocations: 0.6272 MB / 0.7549 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.612, allocations: 8.031 kB / 0.7549 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.612, allocations: 62.53 kB / 0.755 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.6123, allocations: 63.44 kB / 0.755 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.6127, allocations: 309.2 kB / 0.7553 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.6127, allocations: 20.56 kB / 0.7554 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.6128, allocations: 24 kB / 0.7554 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.6133, allocations: 319.7 kB / 0.7557 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.6133, allocations: 7.875 kB / 0.7557 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.6134, allocations: 8 kB / 0.7557 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.6134, allocations: 15.92 kB / 0.7557 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.6138, allocations: 201.6 kB / 0.7559 GB, free: 12.88 MB / 0.5919 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.001416/0.6152, allocations: 1.534 MB / 0.7574 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.6155, allocations: 118.5 kB / 0.7575 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.6157, allocations: 92.78 kB / 0.7576 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.6163, allocations: 307.2 kB / 0.7579 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.6163, allocations: 38.5 kB / 0.7579 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.6163, allocations: 0 / 0.7579 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007667/0.6171, allocations: 265.2 kB / 0.7582 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.6172, allocations: 59.64 kB / 0.7583 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.6174, allocations: 304.6 kB / 0.7585 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.6175, allocations: 29.7 kB / 0.7586 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.6176, allocations: 188 kB / 0.7588 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.6176, allocations: 39.39 kB / 0.7588 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.6177, allocations: 45.61 kB / 0.7588 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6178, allocations: 342.8 kB / 0.7592 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.618, allocations: 55.95 kB / 0.7592 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.6182, allocations: 117 kB / 0.7593 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.6185, allocations: 173 kB / 0.7595 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.6185, allocations: 0 / 0.7595 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000418/0.619, allocations: 217.1 kB / 0.7597 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.619, allocations: 4 kB / 0.7597 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.619, allocations: 4 kB / 0.7597 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.619, allocations: 0 / 0.7597 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.6192, allocations: 43.91 kB / 0.7597 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.6192, allocations: 0 / 0.7597 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.6194, allocations: 27.73 kB / 0.7598 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.6194, allocations: 8 kB / 0.7598 GB, free: 8.605 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001258/0.6195, allocations: 155.5 kB / 0.7599 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.6196, allocations: 31.56 kB / 0.76 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.62, allocations: 216.3 kB / 0.7602 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6201, allocations: 0 / 0.7602 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6201, allocations: 4 kB / 0.7602 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6201, allocations: 0 / 0.7602 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/0.6211, allocations: 0.6759 MB / 0.7608 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6211, allocations: 4.031 kB / 0.7608 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.6212, allocations: 31.92 kB / 0.7609 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.6212, allocations: 3.938 kB / 0.7609 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.6213, allocations: 4 kB / 0.7609 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6213, allocations: 4 kB / 0.7609 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6213, allocations: 0 / 0.7609 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.6217, allocations: 347.8 kB / 0.7612 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6218, allocations: 120.8 kB / 0.7613 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.6219, allocations: 3.984 kB / 0.7613 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.622, allocations: 16 kB / 0.7613 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.6221, allocations: 11.92 kB / 0.7614 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.6221, allocations: 8 kB / 0.7614 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002014/0.6223, allocations: 223 kB / 0.7616 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6223, allocations: 0 / 0.7616 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003798/0.6227, allocations: 71.84 kB / 0.7616 GB, free: 6.555 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009034/0.6236, allocations: 0.9293 MB / 0.7625 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.624, allocations: 159.8 kB / 0.7627 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.624, allocations: 0 / 0.7627 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.6242, allocations: 88.58 kB / 0.7628 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.6251, allocations: 152 kB / 0.7629 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.6284, allocations: 2.81 MB / 0.7657 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.6287, allocations: 0.7872 MB / 0.7664 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.6289, allocations: 50.95 kB / 0.7665 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6291, allocations: 91.41 kB / 0.7666 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.6291, allocations: 0 / 0.7666 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.6552, allocations: 8.029 MB / 0.7744 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/8.085, allocations: 12.44 kB / 0.7744 GB, free: 9.457 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)