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.001521/0.001521, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001903/0.001903, allocations: 199.3 kB / 16.14 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7339/0.7339, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 71.72 kB / 0.5012 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3245, allocations: 80.2 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1584/0.4829, allocations: 159.1 MB / 0.7349 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.4876, allocations: 4.552 MB / 0.7393 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.4878, allocations: 7.938 kB / 0.7393 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.4882, allocations: 99.34 kB / 0.7394 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007833/0.4891, allocations: 306.7 kB / 0.7397 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.4897, allocations: 250.3 kB / 0.74 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.4903, allocations: 0.7951 MB / 0.7407 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.4906, allocations: 177.5 kB / 0.7409 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007737/0.4914, allocations: 426.4 kB / 0.7413 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.4916, allocations: 203.2 kB / 0.7415 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.4917, allocations: 11.94 kB / 0.7415 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.4918, allocations: 71.89 kB / 0.7416 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.4919, allocations: 79.78 kB / 0.7417 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.4921, allocations: 119.4 kB / 0.7418 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.4924, allocations: 287.1 kB / 0.7421 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4924, allocations: 0 / 0.7421 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4924, allocations: 0 / 0.7421 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.4924, allocations: 0 / 0.7421 GB, free: 10.71 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.0007292/0.4931, allocations: 0.5332 MB / 0.7426 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4932, allocations: 12.03 kB / 0.7426 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.4932, allocations: 54.48 kB / 0.7426 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.4933, allocations: 23.72 kB / 0.7427 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4936, allocations: 280 kB / 0.7429 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4937, allocations: 8 kB / 0.7429 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4937, allocations: 24 kB / 0.743 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.4941, allocations: 262 kB / 0.7432 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4941, allocations: 0 / 0.7432 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4942, allocations: 4 kB / 0.7432 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4942, allocations: 8 kB / 0.7432 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.4945, allocations: 151.7 kB / 0.7434 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.4957, allocations: 1.371 MB / 0.7447 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.496, allocations: 179.6 kB / 0.7449 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.4962, allocations: 97.11 kB / 0.745 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.4966, allocations: 113 kB / 0.7451 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4966, allocations: 46.5 kB / 0.7451 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.4966, allocations: 0 / 0.7451 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006022/0.4972, allocations: 217.7 kB / 0.7453 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.4973, allocations: 179.9 kB / 0.7455 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.4976, allocations: 291 kB / 0.7458 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4976, allocations: 29.7 kB / 0.7458 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.4977, allocations: 147.8 kB / 0.7459 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4977, allocations: 35.61 kB / 0.746 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.4978, allocations: 37.62 kB / 0.746 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4979, allocations: 338.8 kB / 0.7463 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4981, allocations: 47.89 kB / 0.7464 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4983, allocations: 119.6 kB / 0.7465 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.4985, allocations: 158.7 kB / 0.7467 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4986, allocations: 0 / 0.7467 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003675/0.4989, allocations: 189.2 kB / 0.7468 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.499, allocations: 7.938 kB / 0.7468 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.499, allocations: 7.938 kB / 0.7468 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.499, allocations: 0 / 0.7468 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4991, allocations: 40.12 kB / 0.7469 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4991, allocations: 4 kB / 0.7469 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.4993, allocations: 27.83 kB / 0.7469 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.4993, allocations: 8 kB / 0.7469 GB, free: 5.254 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.0001267/0.4995, allocations: 155.2 kB / 0.7471 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.4996, allocations: 23.72 kB / 0.7471 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4999, allocations: 134.9 kB / 0.7472 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4999, allocations: 384 / 0.7472 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4999, allocations: 4 kB / 0.7472 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5, allocations: 0 / 0.7472 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.5007, allocations: 0.7769 MB / 0.748 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5007, allocations: 0 / 0.748 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5009, allocations: 23.98 kB / 0.748 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5009, allocations: 0 / 0.748 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.5009, allocations: 8 kB / 0.748 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.5009, allocations: 0 / 0.748 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5009, allocations: 11.88 kB / 0.748 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.5014, allocations: 335.5 kB / 0.7483 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.5015, allocations: 112.8 kB / 0.7485 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.5016, allocations: 0 / 0.7485 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5017, allocations: 16.05 kB / 0.7485 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.5018, allocations: 15.92 kB / 0.7485 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.5018, allocations: 4 kB / 0.7485 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000187/0.502, allocations: 209.9 kB / 0.7487 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.502, allocations: 0 / 0.7487 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003248/0.5023, allocations: 55.94 kB / 0.7487 GB, free: 3.254 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.0009415/0.5032, allocations: 0.919 MB / 0.7496 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.5036, allocations: 115.8 kB / 0.7497 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5036, allocations: 0.5 kB / 0.7497 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.5037, allocations: 67.89 kB / 0.7498 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.5045, allocations: 119.8 kB / 0.7499 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.5074, allocations: 2.659 MB / 0.7525 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.5077, allocations: 0.7635 MB / 0.7533 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000142/0.5079, allocations: 50.25 kB / 0.7533 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.508, allocations: 67.42 kB / 0.7534 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.508, allocations: 0 / 0.7534 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.5239, allocations: 6.461 MB / 0.7597 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.5241, allocations: 234.8 kB / 0.7599 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.333, allocations: 0 / 0.7599 GB, free: 7.766 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)