Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_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.001682/0.001683, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002616/0.002616, allocations: 177.3 kB / 15.95 MB, free: 216 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.442/2.442, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.307/1.307, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007034/0.0007035, allocations: 12 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9326/0.9333, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2747/1.208, allocations: 135.5 MB / 0.7153 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007042/1.215, allocations: 3.66 MB / 0.7189 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/1.216, allocations: 11.94 kB / 0.7189 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008241/1.216, allocations: 155.2 kB / 0.719 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/1.218, allocations: 287.1 kB / 0.7193 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/1.219, allocations: 352 kB / 0.7197 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008041/1.22, allocations: 343.6 kB / 0.72 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/1.221, allocations: 161.2 kB / 0.7201 GB, free: 3.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009615/1.222, allocations: 299.1 kB / 0.7204 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/1.222, allocations: 135.5 kB / 0.7206 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/1.222, allocations: 12 kB / 0.7206 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/1.222, allocations: 55.95 kB / 0.7206 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/1.222, allocations: 79.78 kB / 0.7207 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/1.222, allocations: 69.58 kB / 0.7208 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/1.223, allocations: 203.5 kB / 0.721 GB, free: 2.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/1.223, allocations: 0 / 0.721 GB, free: 2.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/1.223, allocations: 0 / 0.721 GB, free: 2.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.223, allocations: 0 / 0.721 GB, free: 2.949 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.0009827/1.224, allocations: 0.502 MB / 0.7214 GB, free: 2.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.224, allocations: 12.03 kB / 0.7215 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.569e-05/1.224, allocations: 54.48 kB / 0.7215 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/1.224, allocations: 27.67 kB / 0.7215 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/1.224, allocations: 268.1 kB / 0.7218 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/1.224, allocations: 16 kB / 0.7218 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/1.225, allocations: 20 kB / 0.7218 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/1.225, allocations: 258.1 kB / 0.7221 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.225, allocations: 0 / 0.7221 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/1.225, allocations: 12 kB / 0.7221 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.225, allocations: 4 kB / 0.7221 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/1.226, allocations: 159.7 kB / 0.7222 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/1.227, allocations: 1.375 MB / 0.7236 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/1.228, allocations: 183.7 kB / 0.7238 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/1.228, allocations: 137 kB / 0.7239 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.228, allocations: 42.62 kB / 0.7239 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/1.228, allocations: 0 / 0.7239 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0008972/1.229, allocations: 225.7 kB / 0.7241 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.23, allocations: 187.9 kB / 0.7243 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/1.23, allocations: 287 kB / 0.7246 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/1.23, allocations: 25.7 kB / 0.7246 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.23, allocations: 148 kB / 0.7248 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/1.23, allocations: 43.39 kB / 0.7248 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.23, allocations: 4 kB / 0.7248 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.23, allocations: 330.8 kB / 0.7251 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.231, allocations: 51.95 kB / 0.7252 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/1.231, allocations: 127.6 kB / 0.7253 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/1.231, allocations: 63.97 kB / 0.7254 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.231, allocations: 0 / 0.7254 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005541/1.232, allocations: 201.2 kB / 0.7255 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.232, allocations: 11.95 kB / 0.7256 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.232, allocations: 0 / 0.7256 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.232, allocations: 7.938 kB / 0.7256 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/1.232, allocations: 31.98 kB / 0.7256 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.232, allocations: 3.938 kB / 0.7256 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/1.232, allocations: 39.86 kB / 0.7256 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/1.232, allocations: 7.984 kB / 0.7256 GB, free: 13.73 MB / 0.5606 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.000203/1.233, allocations: 141.8 kB / 0.7258 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/1.233, allocations: 27.72 kB / 0.7258 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/1.233, allocations: 142.9 kB / 0.7259 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.233, allocations: 4 kB / 0.7259 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.233, allocations: 0 / 0.7259 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.233, allocations: 3.984 kB / 0.726 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/1.235, allocations: 0.773 MB / 0.7267 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.235, allocations: 0 / 0.7267 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/1.235, allocations: 27.92 kB / 0.7267 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.235, allocations: 4.375 kB / 0.7267 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.235, allocations: 4 kB / 0.7267 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.235, allocations: 7.984 kB / 0.7267 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.235, allocations: 4 kB / 0.7268 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/1.236, allocations: 408.1 kB / 0.7271 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.236, allocations: 116.9 kB / 0.7273 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/1.236, allocations: 8 kB / 0.7273 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/1.236, allocations: 11.98 kB / 0.7273 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/1.236, allocations: 11.92 kB / 0.7273 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/1.236, allocations: 8 kB / 0.7273 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002754/1.236, allocations: 206 kB / 0.7275 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.236, allocations: 3.938 kB / 0.7275 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005847/1.237, allocations: 67.84 kB / 0.7276 GB, free: 11.6 MB / 0.5606 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.001541/1.239, allocations: 1.318 MB / 0.7288 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004982/1.239, allocations: 131.9 kB / 0.729 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.239, allocations: 3.938 kB / 0.729 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/1.239, allocations: 68.58 kB / 0.729 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/1.24, allocations: 120.4 kB / 0.7292 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/1.244, allocations: 2.519 MB / 0.7316 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/1.245, allocations: 0.7677 MB / 0.7324 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000266/1.245, allocations: 46.34 kB / 0.7324 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.245, allocations: 71.36 kB / 0.7325 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.245, allocations: 4 kB / 0.7325 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/1.271, allocations: 6.288 MB / 0.7386 GB, free: 324 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/1.272, allocations: 209.8 kB / 0.7388 GB, free: 76 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/4.446, allocations: 0 / 0.7388 GB, free: 76 kB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: