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.008224/0.008224, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001983/0.001983, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.395/1.395, 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/package.mo): time 0.8169/0.8169, allocations: 132.2 MB / 422.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001845, allocations: 77.22 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1511, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5336/0.6847, allocations: 167.5 MB / 0.8228 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007813/0.6926, allocations: 6.537 MB / 0.8292 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.6931, allocations: 11.44 kB / 0.8292 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.6937, allocations: 170.9 kB / 0.8294 GB, free: 488 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.696, allocations: 0.8391 MB / 0.8302 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.6969, allocations: 334.8 kB / 0.8305 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008366/0.6977, allocations: 0.7153 MB / 0.8312 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.6982, allocations: 284.7 kB / 0.8315 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.6993, allocations: 0.5544 MB / 0.832 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.6997, allocations: 264.1 kB / 0.8323 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.6997, allocations: 22.72 kB / 0.8323 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.7004, allocations: 341.9 kB / 0.8326 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.7005, allocations: 110.8 kB / 0.8327 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.7007, allocations: 157.2 kB / 0.8329 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000768/0.7015, allocations: 487.2 kB / 0.8333 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7015, allocations: 6.594 kB / 0.8333 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7015, allocations: 0 / 0.8333 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.7015, allocations: 0 / 0.8333 GB, free: 13.86 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009286/0.7024, allocations: 0.6197 MB / 0.8339 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7025, allocations: 9.75 kB / 0.834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.487e-05/0.7026, allocations: 66.78 kB / 0.834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.7029, allocations: 65.61 kB / 0.8341 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.7035, allocations: 336.8 kB / 0.8344 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.7035, allocations: 18.72 kB / 0.8344 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.7035, allocations: 25.62 kB / 0.8344 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.7041, allocations: 321.3 kB / 0.8348 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.7041, allocations: 3 kB / 0.8348 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.7041, allocations: 10.72 kB / 0.8348 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.7041, allocations: 9 kB / 0.8348 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.7046, allocations: 208.8 kB / 0.835 GB, free: 12.53 MB / 0.6075 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.001612/0.7062, allocations: 1.526 MB / 0.8365 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.7065, allocations: 118.1 kB / 0.8366 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.7067, allocations: 93.8 kB / 0.8367 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.7073, allocations: 300.7 kB / 0.837 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.7074, allocations: 38.55 kB / 0.837 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.7074, allocations: 4 kB / 0.837 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007359/0.7081, allocations: 262.8 kB / 0.8372 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.7082, allocations: 54.31 kB / 0.8373 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.7085, allocations: 317.4 kB / 0.8376 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.7085, allocations: 25.7 kB / 0.8376 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.7087, allocations: 189.2 kB / 0.8378 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.7087, allocations: 49.53 kB / 0.8379 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.7088, allocations: 40.17 kB / 0.8379 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.709, allocations: 338.7 kB / 0.8382 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.7091, allocations: 57.64 kB / 0.8383 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.7093, allocations: 113.6 kB / 0.8384 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.7097, allocations: 184.8 kB / 0.8386 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7097, allocations: 4 kB / 0.8386 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004063/0.7101, allocations: 215.9 kB / 0.8388 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7101, allocations: 4.812 kB / 0.8388 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7101, allocations: 0 / 0.8388 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.7102, allocations: 9 kB / 0.8388 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7103, allocations: 37.33 kB / 0.8388 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7104, allocations: 8.141 kB / 0.8388 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.7105, allocations: 21.72 kB / 0.8388 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.7106, allocations: 15.08 kB / 0.8389 GB, free: 9.199 MB / 0.6075 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.0001494/0.7107, allocations: 156.6 kB / 0.839 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.7108, allocations: 28.53 kB / 0.839 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.7112, allocations: 202.2 kB / 0.8392 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7112, allocations: 4 kB / 0.8392 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7112, allocations: 3.984 kB / 0.8392 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7113, allocations: 2 kB / 0.8392 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009882/0.7122, allocations: 0.677 MB / 0.8399 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7123, allocations: 9.688 kB / 0.8399 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.7124, allocations: 26.86 kB / 0.8399 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.7124, allocations: 6.75 kB / 0.8399 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7124, allocations: 2.75 kB / 0.8399 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7124, allocations: 2.312 kB / 0.8399 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.7124, allocations: 10.72 kB / 0.8399 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.7129, allocations: 340 kB / 0.8403 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.713, allocations: 121.2 kB / 0.8404 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.7131, allocations: 12.59 kB / 0.8404 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.7132, allocations: 13.33 kB / 0.8404 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.7133, allocations: 8.797 kB / 0.8404 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7133, allocations: 5.281 kB / 0.8404 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002251/0.7135, allocations: 230.6 kB / 0.8406 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7135, allocations: 0 / 0.8406 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003656/0.7139, allocations: 69.08 kB / 0.8407 GB, free: 7.727 MB / 0.6075 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.001113/0.715, allocations: 0.9229 MB / 0.8416 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.7154, allocations: 162.9 kB / 0.8418 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7155, allocations: 2.938 kB / 0.8418 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.7156, allocations: 82.67 kB / 0.8419 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.7164, allocations: 145.5 kB / 0.842 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.7201, allocations: 2.813 MB / 0.8447 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.7205, allocations: 0.785 MB / 0.8455 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.7207, allocations: 59.66 kB / 0.8456 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.7208, allocations: 92.44 kB / 0.8456 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.7208, allocations: 0 / 0.8456 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.7506, allocations: 8.122 MB / 0.8536 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/9.061, allocations: 10.06 kB / 0.8536 GB, free: 14.66 MB / 0.6231 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)