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.000767/0.0007671, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008412/0.0008412, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9599/0.9599, allocations: 135.3 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005067, allocations: 15.98 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4636/0.6692, allocations: 146.5 MB / 0.7305 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.6742, allocations: 4.222 MB / 0.7346 GB, free: 276 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.6744, allocations: 10.12 kB / 0.7347 GB, free: 272 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.6748, allocations: 86.69 kB / 0.7347 GB, free: 220 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000706/0.6755, allocations: 260.5 kB / 0.735 GB, free: 76 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.6762, allocations: 231.5 kB / 0.7352 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007892/0.677, allocations: 0.6612 MB / 0.7359 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.6773, allocations: 156.1 kB / 0.736 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.6781, allocations: 364.1 kB / 0.7363 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.6784, allocations: 182.7 kB / 0.7365 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.6784, allocations: 7.844 kB / 0.7365 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.6786, allocations: 71.41 kB / 0.7366 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.6787, allocations: 84.36 kB / 0.7367 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.6788, allocations: 68.86 kB / 0.7367 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.679, allocations: 209.8 kB / 0.7369 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6791, allocations: 2.531 kB / 0.7369 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6791, allocations: 0 / 0.7369 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.6791, allocations: 0 / 0.7369 GB, free: 15.3 MB / 0.5606 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.0006995/0.6798, allocations: 0.4945 MB / 0.7374 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6798, allocations: 14.02 kB / 0.7374 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.6799, allocations: 50.39 kB / 0.7375 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.6799, allocations: 26.41 kB / 0.7375 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.6803, allocations: 276 kB / 0.7378 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.6803, allocations: 15.81 kB / 0.7378 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.6804, allocations: 16.84 kB / 0.7378 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.6808, allocations: 272.2 kB / 0.7381 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6809, allocations: 0 / 0.7381 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.6809, allocations: 11.16 kB / 0.7381 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.6809, allocations: 4.344 kB / 0.7381 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.6812, allocations: 156.7 kB / 0.7382 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.6826, allocations: 1.375 MB / 0.7396 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.6829, allocations: 192 kB / 0.7398 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.683, allocations: 96.94 kB / 0.7399 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.6834, allocations: 131.2 kB / 0.74 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6834, allocations: 45.25 kB / 0.74 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.6834, allocations: 0 / 0.74 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005804/0.684, allocations: 225.3 kB / 0.7402 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.6841, allocations: 193.2 kB / 0.7404 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.6844, allocations: 281.6 kB / 0.7407 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.6844, allocations: 31.08 kB / 0.7407 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6846, allocations: 148.9 kB / 0.7409 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.6846, allocations: 34.31 kB / 0.7409 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.6846, allocations: 5.375 kB / 0.7409 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6847, allocations: 335.2 kB / 0.7412 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.6849, allocations: 52.64 kB / 0.7413 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.6851, allocations: 122.2 kB / 0.7414 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.6852, allocations: 65.03 kB / 0.7414 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6852, allocations: 0 / 0.7414 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003745/0.6856, allocations: 202.8 kB / 0.7416 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6856, allocations: 6.219 kB / 0.7416 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6857, allocations: 2.094 kB / 0.7416 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6857, allocations: 7.328 kB / 0.7417 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.6858, allocations: 29.86 kB / 0.7417 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.6858, allocations: 9.703 kB / 0.7417 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.686, allocations: 36.62 kB / 0.7417 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.6861, allocations: 10.22 kB / 0.7417 GB, free: 11.48 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.0001483/0.6862, allocations: 141.3 kB / 0.7419 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6863, allocations: 24.5 kB / 0.7419 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.6867, allocations: 145.4 kB / 0.742 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6867, allocations: 6.047 kB / 0.742 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6867, allocations: 2.062 kB / 0.742 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6867, allocations: 3.688 kB / 0.742 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.6877, allocations: 0.77 MB / 0.7428 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6877, allocations: 5.938 kB / 0.7428 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.6878, allocations: 32.62 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6879, allocations: 1.312 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.6879, allocations: 3.594 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6879, allocations: 2.219 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6879, allocations: 1.469 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.6885, allocations: 354.8 kB / 0.7432 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.6886, allocations: 115.1 kB / 0.7433 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.6887, allocations: 11.92 kB / 0.7433 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6888, allocations: 15.55 kB / 0.7433 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.6889, allocations: 11.06 kB / 0.7433 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.6889, allocations: 9.188 kB / 0.7433 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001779/0.6891, allocations: 208.5 kB / 0.7435 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6891, allocations: 0 / 0.7435 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003474/0.6894, allocations: 58.34 kB / 0.7436 GB, free: 10.05 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.0009586/0.6904, allocations: 0.9344 MB / 0.7445 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.6907, allocations: 130.3 kB / 0.7446 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6907, allocations: 1.531 kB / 0.7446 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.6909, allocations: 70.62 kB / 0.7447 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.6916, allocations: 123.2 kB / 0.7448 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.6939, allocations: 1.488 MB / 0.7463 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.6943, allocations: 0.7563 MB / 0.747 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.6945, allocations: 56.55 kB / 0.7471 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.6946, allocations: 68.8 kB / 0.7471 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.6946, allocations: 0 / 0.7471 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.7124, allocations: 6.305 MB / 0.7533 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.7127, allocations: 219.3 kB / 0.7535 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.612, allocations: 0 / 0.7535 GB, free: 2.445 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: