Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.008121/0.008121, allocations: 104.1 kB / 15.73 MB, free: 6.035 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.001402/0.001402, allocations: 194 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.467/2.467, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.257/1.257, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 67.91 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7235, allocations: 80.19 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3095/1.033, allocations: 167.5 MB / 0.8228 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01344/1.047, allocations: 6.537 MB / 0.8292 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/1.048, allocations: 11.94 kB / 0.8292 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/1.049, allocations: 178.7 kB / 0.8294 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004403/1.054, allocations: 0.8362 MB / 0.8302 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/1.056, allocations: 333.8 kB / 0.8305 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0021/1.059, allocations: 0.7174 MB / 0.8312 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/1.059, allocations: 274.7 kB / 0.8315 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/1.061, allocations: 0.5603 MB / 0.832 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/1.062, allocations: 267 kB / 0.8323 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/1.062, allocations: 20 kB / 0.8323 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/1.063, allocations: 343.2 kB / 0.8326 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/1.064, allocations: 107.6 kB / 0.8327 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/1.064, allocations: 159.2 kB / 0.8329 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/1.065, allocations: 486.4 kB / 0.8333 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.065, allocations: 0 / 0.8333 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/1.065, allocations: 0 / 0.8333 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.065, allocations: 0 / 0.8333 GB, free: 3.242 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001319/1.066, allocations: 0.6156 MB / 0.8339 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/1.066, allocations: 8.031 kB / 0.8339 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/1.066, allocations: 62.55 kB / 0.834 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/1.067, allocations: 63.53 kB / 0.8341 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/1.068, allocations: 329.1 kB / 0.8344 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/1.068, allocations: 20.56 kB / 0.8344 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/1.068, allocations: 31.98 kB / 0.8344 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008995/1.069, allocations: 315.7 kB / 0.8347 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.069, allocations: 0 / 0.8347 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/1.069, allocations: 19.88 kB / 0.8347 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/1.069, allocations: 7.984 kB / 0.8348 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/1.07, allocations: 209.5 kB / 0.835 GB, free: 1.453 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/1.072, allocations: 1.53 MB / 0.8364 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/1.072, allocations: 118.5 kB / 0.8366 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/1.072, allocations: 88.8 kB / 0.8366 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007788/1.073, allocations: 303.2 kB / 0.8369 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.073, allocations: 38.56 kB / 0.837 GB, free: 15.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/1.073, allocations: 0 / 0.837 GB, free: 15.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.001078/1.074, allocations: 268.1 kB / 0.8372 GB, free: 14.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.074, allocations: 59.34 kB / 0.8373 GB, free: 14.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/1.075, allocations: 308.5 kB / 0.8376 GB, free: 14.54 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/1.075, allocations: 33.7 kB / 0.8376 GB, free: 14.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/1.075, allocations: 180.1 kB / 0.8378 GB, free: 14.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/1.075, allocations: 51.28 kB / 0.8378 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/1.075, allocations: 33.72 kB / 0.8379 GB, free: 14.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.076, allocations: 342.8 kB / 0.8382 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/1.076, allocations: 55.95 kB / 0.8382 GB, free: 13.83 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/1.076, allocations: 121 kB / 0.8384 GB, free: 13.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/1.077, allocations: 180.9 kB / 0.8385 GB, free: 13.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.077, allocations: 0 / 0.8385 GB, free: 13.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004477/1.077, allocations: 209.2 kB / 0.8387 GB, free: 13.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.077, allocations: 9.875 kB / 0.8387 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.077, allocations: 0 / 0.8387 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.077, allocations: 4 kB / 0.8387 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.077, allocations: 40.06 kB / 0.8388 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.077, allocations: 4 kB / 0.8388 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/1.078, allocations: 27.73 kB / 0.8388 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/1.078, allocations: 8 kB / 0.8388 GB, free: 13.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000169/1.078, allocations: 150.4 kB / 0.839 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/1.078, allocations: 27.72 kB / 0.839 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/1.078, allocations: 208.3 kB / 0.8392 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.078, allocations: 4 kB / 0.8392 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.078, allocations: 0 / 0.8392 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.078, allocations: 0 / 0.8392 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.079, allocations: 0.6794 MB / 0.8399 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.079, allocations: 4 kB / 0.8399 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/1.08, allocations: 35.86 kB / 0.8399 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.08, allocations: 4 kB / 0.8399 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.08, allocations: 4.047 kB / 0.8399 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.08, allocations: 0 / 0.8399 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.08, allocations: 20.08 kB / 0.8399 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/1.08, allocations: 341.2 kB / 0.8402 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.08, allocations: 120.7 kB / 0.8404 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.08, allocations: 11.98 kB / 0.8404 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.08, allocations: 4 kB / 0.8404 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/1.08, allocations: 15.98 kB / 0.8404 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/1.08, allocations: 4 kB / 0.8404 GB, free: 11.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002189/1.081, allocations: 227 kB / 0.8406 GB, free: 11.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.081, allocations: 4 kB / 0.8406 GB, free: 11.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003932/1.081, allocations: 67.84 kB / 0.8407 GB, free: 11.14 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001034/1.082, allocations: 0.9255 MB / 0.8416 GB, free: 10.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004115/1.083, allocations: 155.8 kB / 0.8417 GB, free: 10.03 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.083, allocations: 4.312 kB / 0.8417 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.083, allocations: 83.83 kB / 0.8418 GB, free: 9.941 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/1.084, allocations: 147.1 kB / 0.842 GB, free: 9.805 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/1.087, allocations: 2.799 MB / 0.8447 GB, free: 6.848 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/1.088, allocations: 0.7873 MB / 0.8455 GB, free: 6.035 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000324/1.088, allocations: 62.92 kB / 0.8455 GB, free: 5.977 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.088, allocations: 91.41 kB / 0.8456 GB, free: 5.887 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/1.088, allocations: 0 / 0.8456 GB, free: 5.887 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/1.123, allocations: 8.238 MB / 0.8537 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.26, allocations: 13.53 kB / 0.8537 GB, free: 13.84 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)