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.001486/0.001487, allocations: 103 kB / 15.06 MB, free: 1.098 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.001968/0.001968, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.723/2.723, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.776/1.776, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007017/0.0007015, allocations: 12 kB / 0.5069 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3323, allocations: 82.3 MB / 0.5873 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9691/1.302, allocations: 135.5 MB / 0.7196 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01072/1.312, allocations: 3.663 MB / 0.7232 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000823/1.313, allocations: 7.656 kB / 0.7232 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/1.315, allocations: 157.3 kB / 0.7233 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/1.317, allocations: 282.7 kB / 0.7236 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/1.319, allocations: 356.5 kB / 0.7239 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001633/1.321, allocations: 329.3 kB / 0.7243 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/1.322, allocations: 165 kB / 0.7244 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/1.323, allocations: 292.5 kB / 0.7247 GB, free: 8.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/1.324, allocations: 131 kB / 0.7248 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/1.324, allocations: 17.38 kB / 0.7248 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/1.324, allocations: 58.47 kB / 0.7249 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/1.325, allocations: 72.09 kB / 0.725 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/1.325, allocations: 69.73 kB / 0.725 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007343/1.325, allocations: 209.5 kB / 0.7252 GB, free: 8.496 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.325, allocations: 0 / 0.7252 GB, free: 8.496 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.107e-06/1.326, allocations: 0 / 0.7252 GB, free: 8.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.326, allocations: 5.156 kB / 0.7252 GB, free: 8.492 MB / 0.545 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.001452/1.327, allocations: 0.4973 MB / 0.7257 GB, free: 8.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.288e-05/1.327, allocations: 9.812 kB / 0.7257 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/1.327, allocations: 52.38 kB / 0.7258 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/1.327, allocations: 26.7 kB / 0.7258 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/1.328, allocations: 279.3 kB / 0.7261 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/1.328, allocations: 14.11 kB / 0.7261 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/1.328, allocations: 24.06 kB / 0.7261 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/1.329, allocations: 268.7 kB / 0.7264 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.329, allocations: 2.812 kB / 0.7264 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/1.329, allocations: 9.469 kB / 0.7264 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.329, allocations: 4.469 kB / 0.7264 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/1.33, allocations: 156 kB / 0.7265 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/1.332, allocations: 1.378 MB / 0.7279 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/1.333, allocations: 181.3 kB / 0.728 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/1.333, allocations: 139.5 kB / 0.7282 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/1.334, allocations: 37.81 kB / 0.7282 GB, free: 5.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/1.334, allocations: 0 / 0.7282 GB, free: 5.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001156/1.335, allocations: 226.5 kB / 0.7284 GB, free: 5.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/1.335, allocations: 183.1 kB / 0.7286 GB, free: 5.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/1.336, allocations: 289.6 kB / 0.7289 GB, free: 5.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/1.336, allocations: 28.17 kB / 0.7289 GB, free: 5.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/1.336, allocations: 147.8 kB / 0.7291 GB, free: 5.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/1.336, allocations: 34.23 kB / 0.7291 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.336, allocations: 3.062 kB / 0.7291 GB, free: 5.305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002528/1.336, allocations: 341 kB / 0.7294 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/1.336, allocations: 45.8 kB / 0.7295 GB, free: 4.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/1.337, allocations: 124.6 kB / 0.7296 GB, free: 4.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/1.337, allocations: 67.84 kB / 0.7296 GB, free: 4.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.337, allocations: 1.375 kB / 0.7296 GB, free: 4.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007362/1.338, allocations: 197.5 kB / 0.7298 GB, free: 4.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/1.338, allocations: 7.438 kB / 0.7298 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.338, allocations: 2.266 kB / 0.7298 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/1.338, allocations: 11.12 kB / 0.7298 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/1.338, allocations: 43.61 kB / 0.7299 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.338, allocations: 2.469 kB / 0.7299 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/1.339, allocations: 34.3 kB / 0.7299 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/1.339, allocations: 7.438 kB / 0.7299 GB, free: 4.734 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000319/1.339, allocations: 150.4 kB / 0.7301 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/1.339, allocations: 24.33 kB / 0.7301 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/1.34, allocations: 141.7 kB / 0.7302 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.34, allocations: 2.531 kB / 0.7302 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/1.34, allocations: 6.031 kB / 0.7302 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.34, allocations: 5.75 kB / 0.7302 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.342, allocations: 0.7712 MB / 0.731 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.342, allocations: 3.953 kB / 0.731 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/1.342, allocations: 29.72 kB / 0.731 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.342, allocations: 2 kB / 0.731 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.342, allocations: 3.75 kB / 0.731 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.342, allocations: 5.188 kB / 0.731 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.342, allocations: 7.547 kB / 0.731 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.344, allocations: 422.7 kB / 0.7315 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/1.344, allocations: 109.1 kB / 0.7316 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.344, allocations: 7.312 kB / 0.7316 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/1.344, allocations: 16.45 kB / 0.7316 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/1.344, allocations: 8.828 kB / 0.7316 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/1.344, allocations: 4.75 kB / 0.7316 GB, free: 3.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003861/1.345, allocations: 211 kB / 0.7318 GB, free: 3.223 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/1.345, allocations: 0 / 0.7318 GB, free: 3.223 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006864/1.345, allocations: 59.45 kB / 0.7319 GB, free: 3.211 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002107/1.348, allocations: 1.318 MB / 0.7331 GB, free: 2.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006882/1.348, allocations: 131.6 kB / 0.7333 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.348, allocations: 0 / 0.7333 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/1.349, allocations: 68.69 kB / 0.7333 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.35, allocations: 132.9 kB / 0.7335 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/1.355, allocations: 2.524 MB / 0.7359 GB, free: 28 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/1.356, allocations: 0.7665 MB / 0.7367 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00038/1.356, allocations: 51.94 kB / 0.7367 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/1.356, allocations: 66.92 kB / 0.7368 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.803e-06/1.356, allocations: 3.938 kB / 0.7368 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07859/1.435, allocations: 6.285 MB / 0.7429 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004331/1.436, allocations: 212.8 kB / 0.7431 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.808, allocations: 0 / 0.7431 GB, free: 12.46 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: