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.006176/0.006176, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001216/0.001217, allocations: 199.2 kB / 16.68 MB, free: 5.961 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8015/0.8015, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 69.64 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1757, allocations: 80.92 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5595/0.7353, allocations: 161.4 MB / 0.8217 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005729/0.7411, allocations: 4.555 MB / 0.8262 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.7416, allocations: 9.438 kB / 0.8262 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.7421, allocations: 120 kB / 0.8263 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008823/0.743, allocations: 329.9 kB / 0.8266 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.7439, allocations: 278.9 kB / 0.8269 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.7446, allocations: 0.5523 MB / 0.8274 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.7449, allocations: 220.7 kB / 0.8276 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009704/0.7459, allocations: 457.3 kB / 0.8281 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.7462, allocations: 187.5 kB / 0.8283 GB, free: 52 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.7462, allocations: 18.97 kB / 0.8283 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.7464, allocations: 83.42 kB / 0.8284 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.7465, allocations: 94.19 kB / 0.8284 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.7467, allocations: 117.8 kB / 0.8286 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.7471, allocations: 300.3 kB / 0.8288 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7471, allocations: 3.938 kB / 0.8289 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7471, allocations: 0 / 0.8289 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.7471, allocations: 3.156 kB / 0.8289 GB, free: 15.68 MB / 0.6075 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.0008986/0.748, allocations: 0.5401 MB / 0.8294 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7481, allocations: 15.2 kB / 0.8294 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.7481, allocations: 47.36 kB / 0.8294 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.7482, allocations: 24.38 kB / 0.8295 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.7486, allocations: 283.2 kB / 0.8297 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.7487, allocations: 19.97 kB / 0.8298 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.7487, allocations: 20.12 kB / 0.8298 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.7492, allocations: 268.6 kB / 0.83 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7492, allocations: 2.812 kB / 0.83 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.7492, allocations: 5.812 kB / 0.83 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7492, allocations: 5.781 kB / 0.83 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.7495, allocations: 146.8 kB / 0.8302 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.7509, allocations: 1.366 MB / 0.8315 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.7512, allocations: 180 kB / 0.8317 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.7514, allocations: 96.3 kB / 0.8318 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003425/0.7517, allocations: 123.9 kB / 0.8319 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.7518, allocations: 36.81 kB / 0.8319 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.7518, allocations: 0 / 0.8319 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005989/0.7524, allocations: 206.3 kB / 0.8321 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.7525, allocations: 190.8 kB / 0.8323 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.7528, allocations: 289.8 kB / 0.8326 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.7528, allocations: 28.3 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.7529, allocations: 144.4 kB / 0.8328 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.753, allocations: 46.17 kB / 0.8328 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.753, allocations: 37.05 kB / 0.8328 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7532, allocations: 331.8 kB / 0.8331 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.7533, allocations: 52.38 kB / 0.8332 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.7535, allocations: 117.6 kB / 0.8333 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.7538, allocations: 159.9 kB / 0.8335 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7538, allocations: 0 / 0.8335 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003609/0.7541, allocations: 190.6 kB / 0.8336 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7542, allocations: 10.91 kB / 0.8337 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7542, allocations: 0 / 0.8337 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7542, allocations: 2.906 kB / 0.8337 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.7543, allocations: 37.23 kB / 0.8337 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7544, allocations: 2.281 kB / 0.8337 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.7545, allocations: 22.27 kB / 0.8337 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.7546, allocations: 15.31 kB / 0.8337 GB, free: 11.29 MB / 0.6075 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.0001188/0.7547, allocations: 147.2 kB / 0.8339 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.7548, allocations: 29.81 kB / 0.8339 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.7552, allocations: 133.1 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7552, allocations: 0 / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7552, allocations: 3.375 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7552, allocations: 2.406 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.756, allocations: 0.7745 MB / 0.8348 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.756, allocations: 6.688 kB / 0.8348 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.7562, allocations: 21.05 kB / 0.8348 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7562, allocations: 2.781 kB / 0.8348 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.7562, allocations: 4 kB / 0.8348 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.7562, allocations: 0 / 0.8348 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7562, allocations: 6.422 kB / 0.8348 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.7567, allocations: 345.6 kB / 0.8352 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.7568, allocations: 110.4 kB / 0.8353 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.7569, allocations: 3.25 kB / 0.8353 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.757, allocations: 9 kB / 0.8353 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.757, allocations: 12.36 kB / 0.8353 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.7571, allocations: 6.781 kB / 0.8353 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001723/0.7572, allocations: 209.7 kB / 0.8355 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7572, allocations: 0 / 0.8355 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003268/0.7576, allocations: 61.39 kB / 0.8356 GB, free: 9.707 MB / 0.6075 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.0009617/0.7585, allocations: 0.9115 MB / 0.8364 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.7589, allocations: 127.6 kB / 0.8366 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7589, allocations: 0 / 0.8366 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.759, allocations: 57.44 kB / 0.8366 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.7598, allocations: 129.7 kB / 0.8367 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.7628, allocations: 2.595 MB / 0.8393 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7632, allocations: 0.7702 MB / 0.84 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.7634, allocations: 47.45 kB / 0.8401 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.7635, allocations: 70.97 kB / 0.8401 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.7635, allocations: 0 / 0.8401 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.7921, allocations: 6.956 MB / 0.8469 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.644, allocations: 12.97 kB / 0.8469 GB, free: 2.383 MB / 0.6075 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)