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.00162/0.00162, 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.00185/0.00185, allocations: 197 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7546/0.7546, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.39 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1474/0.4793, allocations: 161.4 MB / 0.7378 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004475/0.4838, allocations: 4.548 MB / 0.7422 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.484, allocations: 7.938 kB / 0.7422 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.4843, allocations: 123.1 kB / 0.7423 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.485, allocations: 330.4 kB / 0.7426 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.4857, allocations: 274.4 kB / 0.7429 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.4862, allocations: 0.565 MB / 0.7435 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.4866, allocations: 209.1 kB / 0.7437 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009144/0.4875, allocations: 454.3 kB / 0.7441 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.4878, allocations: 199.2 kB / 0.7443 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.4878, allocations: 16 kB / 0.7443 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.488, allocations: 79.94 kB / 0.7444 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4881, allocations: 79.8 kB / 0.7444 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.4883, allocations: 123.4 kB / 0.7446 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.4886, allocations: 295 kB / 0.7448 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4886, allocations: 0 / 0.7448 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4887, allocations: 4 kB / 0.7448 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4887, allocations: 3.938 kB / 0.7449 GB, free: 8.297 MB / 0.5762 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.0008837/0.4896, allocations: 0.5487 MB / 0.7454 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.4896, allocations: 8.031 kB / 0.7454 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.4897, allocations: 50.48 kB / 0.7454 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.4897, allocations: 27.72 kB / 0.7455 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.49, allocations: 272 kB / 0.7457 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4901, allocations: 16 kB / 0.7457 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.4901, allocations: 16 kB / 0.7458 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.4905, allocations: 258 kB / 0.746 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4905, allocations: 3.938 kB / 0.746 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.4906, allocations: 15.98 kB / 0.746 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4906, allocations: 7.984 kB / 0.746 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.4909, allocations: 143.8 kB / 0.7462 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.4922, allocations: 1.364 MB / 0.7475 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.4925, allocations: 191.6 kB / 0.7477 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.4927, allocations: 101 kB / 0.7478 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/0.493, allocations: 117 kB / 0.7479 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.493, allocations: 38.56 kB / 0.7479 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.4931, allocations: 4 kB / 0.7479 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005739/0.4936, allocations: 201.1 kB / 0.7481 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.4937, allocations: 187.9 kB / 0.7483 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.494, allocations: 287.6 kB / 0.7486 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.494, allocations: 37.7 kB / 0.7486 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.4941, allocations: 147.8 kB / 0.7488 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.4942, allocations: 35.61 kB / 0.7488 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.4942, allocations: 45.58 kB / 0.7488 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4943, allocations: 334.8 kB / 0.7492 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.4945, allocations: 43.97 kB / 0.7492 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.4947, allocations: 111.7 kB / 0.7493 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.495, allocations: 158.7 kB / 0.7495 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.495, allocations: 0 / 0.7495 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003731/0.4953, allocations: 189.2 kB / 0.7496 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4954, allocations: 11.98 kB / 0.7496 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4954, allocations: 0 / 0.7496 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4954, allocations: 7.938 kB / 0.7497 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.4955, allocations: 28.3 kB / 0.7497 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4956, allocations: 4 kB / 0.7497 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.4957, allocations: 31.73 kB / 0.7497 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.4957, allocations: 8.156 kB / 0.7497 GB, free: 2.848 MB / 0.5762 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.0001155/0.4959, allocations: 159.2 kB / 0.7499 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.496, allocations: 31.64 kB / 0.7499 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4963, allocations: 131 kB / 0.75 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4963, allocations: 7.984 kB / 0.75 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4963, allocations: 0 / 0.75 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.4963, allocations: 4 kB / 0.75 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.4971, allocations: 0.7652 MB / 0.7508 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4971, allocations: 4 kB / 0.7508 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.4972, allocations: 23.98 kB / 0.7508 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4972, allocations: 4 kB / 0.7508 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4973, allocations: 8.094 kB / 0.7508 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4973, allocations: 4 kB / 0.7508 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4973, allocations: 3.938 kB / 0.7508 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.4978, allocations: 343.3 kB / 0.7512 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.4979, allocations: 108.8 kB / 0.7513 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.4979, allocations: 4 kB / 0.7513 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.498, allocations: 11.92 kB / 0.7513 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4981, allocations: 15.92 kB / 0.7513 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.4981, allocations: 8.062 kB / 0.7513 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001795/0.4983, allocations: 213.9 kB / 0.7515 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4983, allocations: 0 / 0.7515 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003096/0.4986, allocations: 55.94 kB / 0.7516 GB, free: 0.8242 MB / 0.5762 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.0009016/0.4995, allocations: 0.9077 MB / 0.7524 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.4998, allocations: 123.9 kB / 0.7526 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4999, allocations: 0 / 0.7526 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5, allocations: 63.83 kB / 0.7526 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.5007, allocations: 131.9 kB / 0.7527 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.5036, allocations: 2.605 MB / 0.7553 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5039, allocations: 0.7634 MB / 0.756 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.5041, allocations: 50.25 kB / 0.7561 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.5041, allocations: 71.41 kB / 0.7562 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5042, allocations: 0 / 0.7562 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3552/0.8593, allocations: 6.784 MB / 0.7628 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.762, allocations: 0 / 0.7628 GB, free: 5.309 MB / 0.5919 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/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)