Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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.001132/0.001132, allocations: 112.5 kB / 15.73 MB, free: 76 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.001196/0.001196, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9522/0.9522, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 67.91 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4128, allocations: 80.9 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1636/0.5764, allocations: 161.4 MB / 0.8218 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.5816, allocations: 4.542 MB / 0.8262 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.5819, allocations: 11.94 kB / 0.8262 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.5824, allocations: 131 kB / 0.8263 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.5832, allocations: 338.5 kB / 0.8267 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.584, allocations: 285.7 kB / 0.8269 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.5846, allocations: 0.5496 MB / 0.8275 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.585, allocations: 213.1 kB / 0.8277 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009211/0.5859, allocations: 470.2 kB / 0.8281 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.5862, allocations: 191.3 kB / 0.8283 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.5863, allocations: 16 kB / 0.8283 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.5864, allocations: 83.92 kB / 0.8284 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.5865, allocations: 79.73 kB / 0.8285 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.5867, allocations: 127.3 kB / 0.8286 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.5871, allocations: 303.8 kB / 0.8289 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5871, allocations: 4 kB / 0.8289 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5871, allocations: 0 / 0.8289 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.5871, allocations: 0 / 0.8289 GB, free: 8.309 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008022/0.5879, allocations: 0.5408 MB / 0.8294 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5879, allocations: 12.03 kB / 0.8294 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.588, allocations: 50.55 kB / 0.8295 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.5881, allocations: 27.86 kB / 0.8295 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.5885, allocations: 287.5 kB / 0.8298 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5885, allocations: 12 kB / 0.8298 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.5886, allocations: 23.98 kB / 0.8298 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.589, allocations: 269.8 kB / 0.8301 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.589, allocations: 4 kB / 0.8301 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.589, allocations: 4 kB / 0.8301 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5891, allocations: 4 kB / 0.8301 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.5894, allocations: 161.2 kB / 0.8302 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.5906, allocations: 1.352 MB / 0.8315 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.5909, allocations: 191.6 kB / 0.8317 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.5911, allocations: 101 kB / 0.8318 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.5915, allocations: 121 kB / 0.8319 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5915, allocations: 42.56 kB / 0.832 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.5915, allocations: 0 / 0.832 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005949/0.5921, allocations: 209.8 kB / 0.8322 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.5922, allocations: 191.9 kB / 0.8324 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.5925, allocations: 283 kB / 0.8326 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.5925, allocations: 29.7 kB / 0.8327 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5926, allocations: 151.9 kB / 0.8328 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.5927, allocations: 39.7 kB / 0.8328 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.5927, allocations: 37.66 kB / 0.8329 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5928, allocations: 338.8 kB / 0.8332 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.593, allocations: 47.91 kB / 0.8332 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.5932, allocations: 111.7 kB / 0.8334 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.5934, allocations: 158.9 kB / 0.8335 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.5935, allocations: 7.938 kB / 0.8335 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.5938, allocations: 189.3 kB / 0.8337 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5939, allocations: 8 kB / 0.8337 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5939, allocations: 0 / 0.8337 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5939, allocations: 4 kB / 0.8337 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.594, allocations: 31.92 kB / 0.8337 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.594, allocations: 4.219 kB / 0.8337 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.5942, allocations: 31.83 kB / 0.8338 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5942, allocations: 8 kB / 0.8338 GB, free: 2.828 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 (15): * Single equations (assignments): 15 * 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.0001337/0.5944, allocations: 159.2 kB / 0.8339 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5945, allocations: 23.86 kB / 0.834 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.5948, allocations: 123 kB / 0.8341 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5948, allocations: 8 kB / 0.8341 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5948, allocations: 0 / 0.8341 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5948, allocations: 7.984 kB / 0.8341 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.5957, allocations: 0.7613 MB / 0.8348 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5957, allocations: 4.156 kB / 0.8348 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.5958, allocations: 23.98 kB / 0.8349 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.5958, allocations: 48 / 0.8349 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.5958, allocations: 11.98 kB / 0.8349 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.5959, allocations: 11.92 kB / 0.8349 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5959, allocations: 3.938 kB / 0.8349 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.5964, allocations: 335.6 kB / 0.8352 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.5965, allocations: 120.9 kB / 0.8353 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.5966, allocations: 8 kB / 0.8353 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5967, allocations: 4 kB / 0.8353 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.5967, allocations: 19.98 kB / 0.8353 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.5967, allocations: 4 kB / 0.8354 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001802/0.5969, allocations: 209.9 kB / 0.8356 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5969, allocations: 0 / 0.8356 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003366/0.5973, allocations: 55.92 kB / 0.8356 GB, free: 0.8125 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0009363/0.5982, allocations: 0.9192 MB / 0.8365 GB, free: 15.86 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.5986, allocations: 119.8 kB / 0.8366 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5986, allocations: 0 / 0.8366 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.5987, allocations: 60.66 kB / 0.8367 GB, free: 15.68 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.5994, allocations: 130.5 kB / 0.8368 GB, free: 15.56 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.6024, allocations: 2.609 MB / 0.8393 GB, free: 12.81 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.6028, allocations: 0.7518 MB / 0.8401 GB, free: 12.04 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.6029, allocations: 58.25 kB / 0.8401 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.603, allocations: 67.41 kB / 0.8402 GB, free: 11.91 MB / 0.67 GB Notification: Performance of SimCode: time 2.9e-07/0.603, allocations: 0 / 0.8402 GB, free: 11.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.6287, allocations: 6.861 MB / 0.8469 GB, free: 5.195 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.197, allocations: 6.031 kB / 0.8469 GB, free: 5.191 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)