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.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009726/0.0009726, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9977/0.9977, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.25 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1538, allocations: 80.21 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4362/0.59, allocations: 165.3 MB / 0.7409 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006937/0.597, allocations: 6.549 MB / 0.7473 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005133/0.5976, allocations: 15.66 kB / 0.7473 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.5982, allocations: 130 kB / 0.7474 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.6002, allocations: 0.7949 MB / 0.7482 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.601, allocations: 297 kB / 0.7485 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.602, allocations: 1.015 MB / 0.7495 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.6023, allocations: 227 kB / 0.7497 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.6033, allocations: 0.5171 MB / 0.7502 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.6036, allocations: 277.9 kB / 0.7505 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.6037, allocations: 17.34 kB / 0.7505 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.6043, allocations: 398.3 kB / 0.7509 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.6045, allocations: 98.89 kB / 0.751 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.6046, allocations: 155.1 kB / 0.7511 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.6051, allocations: 479.1 kB / 0.7516 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6052, allocations: 0 / 0.7516 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6052, allocations: 0 / 0.7516 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6052, allocations: 2.812 kB / 0.7516 GB, free: 2.352 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008195/0.606, allocations: 0.6174 MB / 0.7522 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6061, allocations: 12.03 kB / 0.7522 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.6061, allocations: 64.69 kB / 0.7523 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.6064, allocations: 64.59 kB / 0.7523 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.6068, allocations: 299.4 kB / 0.7526 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6068, allocations: 18.34 kB / 0.7526 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.6068, allocations: 28 kB / 0.7526 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.6073, allocations: 326.3 kB / 0.753 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6074, allocations: 3.938 kB / 0.753 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.6074, allocations: 10.22 kB / 0.753 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.6074, allocations: 7.906 kB / 0.753 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.6078, allocations: 200.9 kB / 0.7532 GB, free: 1.059 MB / 0.5606 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.001383/0.6092, allocations: 1.533 MB / 0.7547 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.6094, allocations: 123.2 kB / 0.7548 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.6096, allocations: 88.81 kB / 0.7549 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.6103, allocations: 303.2 kB / 0.7552 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.6103, allocations: 38.56 kB / 0.7552 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.6103, allocations: 0 / 0.7552 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007214/0.6111, allocations: 273.1 kB / 0.7555 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.6111, allocations: 55.41 kB / 0.7555 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6114, allocations: 316.5 kB / 0.7558 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6114, allocations: 29.7 kB / 0.7558 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6116, allocations: 180.1 kB / 0.756 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.6116, allocations: 39.45 kB / 0.756 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.6117, allocations: 41.61 kB / 0.7561 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6118, allocations: 342.8 kB / 0.7564 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.6119, allocations: 59.95 kB / 0.7565 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.6121, allocations: 118.8 kB / 0.7566 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.6125, allocations: 175.5 kB / 0.7568 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6125, allocations: 0 / 0.7568 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003971/0.6129, allocations: 221.1 kB / 0.757 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6129, allocations: 4.156 kB / 0.757 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6129, allocations: 4 kB / 0.757 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6129, allocations: 4 kB / 0.757 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.6131, allocations: 28.8 kB / 0.757 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.6131, allocations: 9.344 kB / 0.757 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.6133, allocations: 35.66 kB / 0.757 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.6134, allocations: 12 kB / 0.7571 GB, free: 13.04 MB / 0.5762 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.0001385/0.6135, allocations: 155.3 kB / 0.7572 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.6136, allocations: 27.62 kB / 0.7572 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.614, allocations: 216.4 kB / 0.7574 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.614, allocations: 0 / 0.7574 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.614, allocations: 0 / 0.7574 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.614, allocations: 0 / 0.7574 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.615, allocations: 0.6912 MB / 0.7581 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.615, allocations: 224 / 0.7581 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.6151, allocations: 31.92 kB / 0.7581 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6151, allocations: 4 kB / 0.7581 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.6151, allocations: 11.94 kB / 0.7582 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6152, allocations: 4 kB / 0.7582 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6152, allocations: 0 / 0.7582 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.6156, allocations: 337 kB / 0.7585 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.6157, allocations: 112.8 kB / 0.7586 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.6157, allocations: 11.92 kB / 0.7586 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.6159, allocations: 23.89 kB / 0.7586 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.616, allocations: 11.98 kB / 0.7586 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.616, allocations: 8 kB / 0.7586 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001932/0.6162, allocations: 226.9 kB / 0.7589 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6162, allocations: 0 / 0.7589 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003665/0.6166, allocations: 75.83 kB / 0.7589 GB, free: 10.97 MB / 0.5762 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.0008988/0.6175, allocations: 0.926 MB / 0.7598 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.6179, allocations: 155.8 kB / 0.76 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6179, allocations: 0 / 0.76 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.6181, allocations: 76.64 kB / 0.7601 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.6189, allocations: 145 kB / 0.7602 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.6221, allocations: 2.9 MB / 0.763 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.6224, allocations: 0.7914 MB / 0.7638 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.6227, allocations: 55.14 kB / 0.7639 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6228, allocations: 91.41 kB / 0.7639 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6228, allocations: 4 kB / 0.7639 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.7443, allocations: 7.669 MB / 0.7714 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/0.7446, allocations: 224.5 kB / 0.7716 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.603, allocations: 3.938 kB / 0.7717 GB, free: 13.94 MB / 0.5919 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)