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.0009847/0.0009847, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007699/0.007699, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9395/0.9395, allocations: 135.3 MB / 426.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 8 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.3 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3699/0.5152, allocations: 157 MB / 0.7414 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005271/0.5206, allocations: 4.487 MB / 0.7458 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.5209, allocations: 9.875 kB / 0.7458 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.5212, allocations: 101.1 kB / 0.7459 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007851/0.522, allocations: 311.3 kB / 0.7462 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.5227, allocations: 247.8 kB / 0.7464 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.5235, allocations: 0.7958 MB / 0.7472 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.5238, allocations: 164.3 kB / 0.7474 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.5246, allocations: 422.3 kB / 0.7478 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.5249, allocations: 202.2 kB / 0.748 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.525, allocations: 10.19 kB / 0.748 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.5251, allocations: 60.02 kB / 0.748 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.5253, allocations: 80.09 kB / 0.7481 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.5254, allocations: 139.6 kB / 0.7483 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.5257, allocations: 282.3 kB / 0.7485 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5257, allocations: 0 / 0.7485 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5257, allocations: 0 / 0.7485 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5257, allocations: 1.5 kB / 0.7485 GB, free: 5.477 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.0006915/0.5264, allocations: 0.4998 MB / 0.749 GB, free: 5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5265, allocations: 13.5 kB / 0.749 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.5265, allocations: 57.42 kB / 0.7491 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.5266, allocations: 24.97 kB / 0.7491 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.5269, allocations: 272.5 kB / 0.7494 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.527, allocations: 10.59 kB / 0.7494 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.527, allocations: 18.53 kB / 0.7494 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.5274, allocations: 273.6 kB / 0.7497 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5275, allocations: 3.938 kB / 0.7497 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.5275, allocations: 10.73 kB / 0.7497 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5275, allocations: 5.5 kB / 0.7497 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.5278, allocations: 161 kB / 0.7498 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.5291, allocations: 1.37 MB / 0.7512 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.5293, allocations: 185.2 kB / 0.7513 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.5295, allocations: 104.7 kB / 0.7514 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.5299, allocations: 135.3 kB / 0.7516 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.5299, allocations: 42.67 kB / 0.7516 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.5299, allocations: 0 / 0.7516 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005869/0.5305, allocations: 227.8 kB / 0.7518 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.5306, allocations: 183 kB / 0.752 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.5309, allocations: 296.4 kB / 0.7523 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.5309, allocations: 28.45 kB / 0.7523 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.531, allocations: 151.2 kB / 0.7525 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.531, allocations: 40.08 kB / 0.7525 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.5311, allocations: 17.06 kB / 0.7525 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5312, allocations: 338.9 kB / 0.7528 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.5313, allocations: 47.34 kB / 0.7529 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.5315, allocations: 132 kB / 0.753 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.5318, allocations: 164.1 kB / 0.7532 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5318, allocations: 3.562 kB / 0.7532 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003592/0.5322, allocations: 206.3 kB / 0.7534 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5322, allocations: 9.281 kB / 0.7534 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5322, allocations: 3.062 kB / 0.7534 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5322, allocations: 3.062 kB / 0.7534 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.5323, allocations: 33.73 kB / 0.7534 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5324, allocations: 8.656 kB / 0.7534 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.5325, allocations: 26.66 kB / 0.7534 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.5326, allocations: 10.05 kB / 0.7534 GB, free: 1.121 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.5327, allocations: 145.5 kB / 0.7536 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5328, allocations: 27.75 kB / 0.7536 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.5331, allocations: 142.5 kB / 0.7538 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5331, allocations: 7.469 kB / 0.7538 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5331, allocations: 7.922 kB / 0.7538 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5332, allocations: 3.688 kB / 0.7538 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.5339, allocations: 0.7713 MB / 0.7545 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.5339, allocations: 0 / 0.7545 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.534, allocations: 33.48 kB / 0.7546 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.534, allocations: 160 / 0.7546 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5341, allocations: 12.2 kB / 0.7546 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5341, allocations: 2.594 kB / 0.7546 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5341, allocations: 0 / 0.7546 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.5346, allocations: 353.9 kB / 0.7549 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.5347, allocations: 110 kB / 0.755 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.5347, allocations: 6.875 kB / 0.755 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5348, allocations: 15.14 kB / 0.755 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.5349, allocations: 22.2 kB / 0.7551 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.5349, allocations: 7.312 kB / 0.7551 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001714/0.5351, allocations: 208.9 kB / 0.7553 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5351, allocations: 0 / 0.7553 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003099/0.5354, allocations: 58.81 kB / 0.7553 GB, free: 15.53 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.000885/0.5363, allocations: 0.9122 MB / 0.7562 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.5366, allocations: 129.2 kB / 0.7563 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5366, allocations: 0 / 0.7563 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.5368, allocations: 68.97 kB / 0.7564 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.5375, allocations: 122.5 kB / 0.7565 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.5404, allocations: 2.721 MB / 0.7592 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.5407, allocations: 0.7602 MB / 0.7599 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.5408, allocations: 53.3 kB / 0.76 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.5409, allocations: 67.42 kB / 0.76 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5409, allocations: 0 / 0.76 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.035/2.576, allocations: 6.353 MB / 0.7662 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/2.577, allocations: 232.1 kB / 0.7665 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/5.193, allocations: 0 / 0.7665 GB, free: 5.215 MB / 0.5762 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/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)