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.001361/0.001361, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001628/0.001628, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.366/2.366, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.286/1.286, allocations: 132.2 MB / 423.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006035/0.0006038, allocations: 16.5 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6427, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2556/0.8984, allocations: 140.3 MB / 0.72 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.9099, allocations: 5.253 MB / 0.7252 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008857/0.9109, allocations: 11.94 kB / 0.7252 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.9122, allocations: 187.1 kB / 0.7253 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.915, allocations: 0.5686 MB / 0.7259 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.9168, allocations: 352.3 kB / 0.7262 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.9183, allocations: 428.1 kB / 0.7266 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.919, allocations: 217.1 kB / 0.7268 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.9208, allocations: 438.7 kB / 0.7273 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.9213, allocations: 195.3 kB / 0.7275 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.9214, allocations: 15.94 kB / 0.7275 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008799/0.9223, allocations: 203.7 kB / 0.7277 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.9226, allocations: 91.7 kB / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.9228, allocations: 85.52 kB / 0.7278 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.9235, allocations: 303.3 kB / 0.7281 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9236, allocations: 3.938 kB / 0.7281 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9236, allocations: 0 / 0.7281 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.9236, allocations: 4 kB / 0.7281 GB, free: 11.62 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.001391/0.925, allocations: 0.5688 MB / 0.7287 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.9251, allocations: 8.031 kB / 0.7287 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.9252, allocations: 66.53 kB / 0.7288 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/0.9257, allocations: 55.5 kB / 0.7288 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.9263, allocations: 301.4 kB / 0.7291 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.9264, allocations: 20.56 kB / 0.7291 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.9264, allocations: 27.98 kB / 0.7291 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.9273, allocations: 319.7 kB / 0.7294 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9273, allocations: 0 / 0.7294 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.9273, allocations: 15.95 kB / 0.7295 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.9274, allocations: 4 kB / 0.7295 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.928, allocations: 217.5 kB / 0.7297 GB, free: 9.914 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.002731/0.9308, allocations: 1.531 MB / 0.7312 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.9312, allocations: 126.5 kB / 0.7313 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.9318, allocations: 137 kB / 0.7314 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.9319, allocations: 34.56 kB / 0.7315 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 5.41e-06/0.9319, allocations: 0 / 0.7315 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001347/0.9333, allocations: 289.4 kB / 0.7317 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.9333, allocations: 55.41 kB / 0.7318 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.9339, allocations: 312.5 kB / 0.7321 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.934, allocations: 29.7 kB / 0.7321 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.9343, allocations: 180.1 kB / 0.7323 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.9344, allocations: 47.39 kB / 0.7323 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.9344, allocations: 0 / 0.7323 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003159/0.9348, allocations: 342.8 kB / 0.7326 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.935, allocations: 63.95 kB / 0.7327 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.9354, allocations: 117 kB / 0.7328 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.9357, allocations: 79.67 kB / 0.7329 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.9357, allocations: 0 / 0.7329 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006443/0.9363, allocations: 233.1 kB / 0.7331 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.9364, allocations: 6.031 kB / 0.7331 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.9364, allocations: 8 kB / 0.7331 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.9364, allocations: 0 / 0.7331 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.9367, allocations: 40.12 kB / 0.7332 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.9367, allocations: 7.938 kB / 0.7332 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.9371, allocations: 35.67 kB / 0.7332 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.9372, allocations: 12 kB / 0.7332 GB, free: 6.039 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.9375, allocations: 153.7 kB / 0.7334 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.9376, allocations: 27.67 kB / 0.7334 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.9383, allocations: 216.4 kB / 0.7336 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.9383, allocations: 4 kB / 0.7336 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.9383, allocations: 0 / 0.7336 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.9383, allocations: 7.938 kB / 0.7336 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.9402, allocations: 0.6951 MB / 0.7343 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9403, allocations: 0 / 0.7343 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.9405, allocations: 31.97 kB / 0.7343 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.9405, allocations: 4 kB / 0.7343 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.9405, allocations: 8 kB / 0.7343 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.9405, allocations: 4.156 kB / 0.7343 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.9405, allocations: 8 kB / 0.7343 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.9414, allocations: 436.7 kB / 0.7348 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.9416, allocations: 108.8 kB / 0.7349 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.9417, allocations: 8 kB / 0.7349 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.942, allocations: 15.98 kB / 0.7349 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.9421, allocations: 23.94 kB / 0.7349 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.9421, allocations: 8.062 kB / 0.7349 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003684/0.9425, allocations: 223 kB / 0.7351 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9425, allocations: 0 / 0.7351 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006552/0.9432, allocations: 71.84 kB / 0.7352 GB, free: 3.824 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002088/0.9453, allocations: 1.49 MB / 0.7367 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006556/0.9459, allocations: 171.8 kB / 0.7368 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.946, allocations: 0 / 0.7368 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.9463, allocations: 92.58 kB / 0.7369 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9475, allocations: 147.9 kB / 0.7371 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.9521, allocations: 2.397 MB / 0.7394 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.9528, allocations: 0.7875 MB / 0.7402 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004217/0.9533, allocations: 58.94 kB / 0.7402 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.9535, allocations: 91.41 kB / 0.7403 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.9535, allocations: 4 kB / 0.7403 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.9923, allocations: 7.499 MB / 0.7476 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000382/0.9928, allocations: 212.8 kB / 0.7478 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/4.124, allocations: 0 / 0.7478 GB, free: 6.906 MB / 0.5762 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/linux/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) Environment - environmentSimulation: