Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_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.007072/0.007072, allocations: 97.84 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.001846/0.001846, allocations: 201.1 kB / 16.68 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 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9269/0.9269, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002084, allocations: 75.88 kB / 0.5858 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3924, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1968/0.5893, allocations: 167.5 MB / 0.8285 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007679/0.597, allocations: 6.532 MB / 0.8349 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.5975, allocations: 11.94 kB / 0.8349 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.598, allocations: 174.7 kB / 0.8351 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.6001, allocations: 0.844 MB / 0.8359 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.601, allocations: 329.1 kB / 0.8362 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.6018, allocations: 0.7174 MB / 0.8369 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.6023, allocations: 278.7 kB / 0.8372 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.6033, allocations: 0.5526 MB / 0.8377 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.6037, allocations: 271 kB / 0.838 GB, free: 15.05 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.6038, allocations: 24 kB / 0.838 GB, free: 15.03 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.6044, allocations: 339.2 kB / 0.8383 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.6045, allocations: 107.6 kB / 0.8384 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.6047, allocations: 155.2 kB / 0.8386 GB, free: 14.44 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.6054, allocations: 491.1 kB / 0.839 GB, free: 13.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6054, allocations: 0 / 0.839 GB, free: 13.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6054, allocations: 0 / 0.839 GB, free: 13.96 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6054, allocations: 3.938 kB / 0.839 GB, free: 13.96 MB / 0.67 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.0008641/0.6063, allocations: 0.6268 MB / 0.8396 GB, free: 13.28 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6063, allocations: 12.02 kB / 0.8397 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.6064, allocations: 58.55 kB / 0.8397 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.6067, allocations: 75.59 kB / 0.8398 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.6072, allocations: 325.4 kB / 0.8401 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.6073, allocations: 20.56 kB / 0.8401 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.6073, allocations: 24 kB / 0.8401 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.6078, allocations: 319.6 kB / 0.8404 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6079, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.6079, allocations: 15.94 kB / 0.8405 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.6079, allocations: 8 kB / 0.8405 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.6083, allocations: 209.5 kB / 0.8407 GB, free: 12.16 MB / 0.67 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.001583/0.6099, allocations: 1.527 MB / 0.8422 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.6102, allocations: 120.8 kB / 0.8423 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.6104, allocations: 92.8 kB / 0.8424 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.611, allocations: 307.2 kB / 0.8426 GB, free: 9.926 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.611, allocations: 30.56 kB / 0.8427 GB, free: 9.887 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.611, allocations: 0 / 0.8427 GB, free: 9.887 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007318/0.6118, allocations: 273.6 kB / 0.8429 GB, free: 9.613 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.6118, allocations: 59.34 kB / 0.843 GB, free: 9.543 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.6122, allocations: 308.5 kB / 0.8433 GB, free: 9.234 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.6122, allocations: 25.7 kB / 0.8433 GB, free: 9.203 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.6123, allocations: 192.2 kB / 0.8435 GB, free: 9.012 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.6124, allocations: 47.58 kB / 0.8435 GB, free: 8.965 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.6125, allocations: 37.7 kB / 0.8436 GB, free: 8.922 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6126, allocations: 342.8 kB / 0.8439 GB, free: 8.578 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.6128, allocations: 59.95 kB / 0.844 GB, free: 8.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.613, allocations: 109.1 kB / 0.8441 GB, free: 8.395 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.6133, allocations: 180.9 kB / 0.8442 GB, free: 8.199 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6133, allocations: 0 / 0.8442 GB, free: 8.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004223/0.6138, allocations: 217.3 kB / 0.8444 GB, free: 7.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6138, allocations: 6.5 kB / 0.8445 GB, free: 7.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6138, allocations: 4 kB / 0.8445 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6138, allocations: 0 / 0.8445 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.614, allocations: 39.91 kB / 0.8445 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.614, allocations: 0 / 0.8445 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.6142, allocations: 31.83 kB / 0.8445 GB, free: 7.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.6142, allocations: 4.156 kB / 0.8445 GB, free: 7.898 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.0001464/0.6144, allocations: 161.6 kB / 0.8447 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.6144, allocations: 27.81 kB / 0.8447 GB, free: 7.703 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.6149, allocations: 212.3 kB / 0.8449 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6149, allocations: 0 / 0.8449 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6149, allocations: 0 / 0.8449 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6149, allocations: 4 kB / 0.8449 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.6159, allocations: 0.6757 MB / 0.8456 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6159, allocations: 12.22 kB / 0.8456 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.6161, allocations: 35.92 kB / 0.8456 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6161, allocations: 0 / 0.8456 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.6161, allocations: 4 kB / 0.8456 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6161, allocations: 4 kB / 0.8456 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6161, allocations: 3.938 kB / 0.8456 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.6166, allocations: 347.1 kB / 0.846 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6167, allocations: 124.8 kB / 0.8461 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.6168, allocations: 7.984 kB / 0.8461 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.6169, allocations: 12 kB / 0.8461 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.617, allocations: 11.98 kB / 0.8461 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.617, allocations: 4 kB / 0.8461 GB, free: 6.125 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002176/0.6172, allocations: 227 kB / 0.8463 GB, free: 5.906 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6172, allocations: 0 / 0.8463 GB, free: 5.906 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003518/0.6176, allocations: 71.89 kB / 0.8464 GB, free: 5.836 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.001046/0.6186, allocations: 0.9265 MB / 0.8473 GB, free: 4.867 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.619, allocations: 155.8 kB / 0.8475 GB, free: 4.715 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.619, allocations: 0 / 0.8475 GB, free: 4.715 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.6192, allocations: 84.58 kB / 0.8475 GB, free: 4.633 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/0.6201, allocations: 147.5 kB / 0.8477 GB, free: 4.492 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.6235, allocations: 2.818 MB / 0.8504 GB, free: 1.527 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.6239, allocations: 0.7873 MB / 0.8512 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000196/0.6242, allocations: 62.92 kB / 0.8513 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.6243, allocations: 95.41 kB / 0.8513 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.6243, allocations: 0 / 0.8513 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.6588, allocations: 8.11 MB / 0.8593 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.916, allocations: 7.688 kB / 0.8593 GB, free: 8.605 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)