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.001414/0.001415, allocations: 99.86 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.001508/0.001508, 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.772/2.772, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.87/1.87, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007396/0.0007397, allocations: 11.98 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3782, allocations: 82.3 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 1.099/1.477, allocations: 140.3 MB / 0.7243 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01597/1.493, allocations: 5.271 MB / 0.7294 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/1.495, allocations: 9.312 kB / 0.7295 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/1.496, allocations: 184.1 kB / 0.7296 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0036/1.5, allocations: 0.5664 MB / 0.7302 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/1.502, allocations: 358.8 kB / 0.7305 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001787/1.504, allocations: 429.5 kB / 0.7309 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000872/1.504, allocations: 218.6 kB / 0.7311 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00694/1.511, allocations: 431.9 kB / 0.7316 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/1.512, allocations: 194.5 kB / 0.7317 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/1.512, allocations: 13.69 kB / 0.7318 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/1.516, allocations: 203.1 kB / 0.7319 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/1.516, allocations: 87.73 kB / 0.732 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/1.516, allocations: 85.14 kB / 0.7321 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/1.517, allocations: 315.7 kB / 0.7324 GB, free: 3.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.517, allocations: 0 / 0.7324 GB, free: 3.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.366e-06/1.517, allocations: 0 / 0.7324 GB, free: 3.484 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.517, allocations: 4 kB / 0.7324 GB, free: 3.48 MB / 0.545 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.00138/1.519, allocations: 0.5621 MB / 0.733 GB, free: 3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.14e-05/1.519, allocations: 9.438 kB / 0.733 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/1.519, allocations: 70.17 kB / 0.733 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/1.52, allocations: 58.64 kB / 0.7331 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/1.52, allocations: 295.4 kB / 0.7334 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/1.52, allocations: 24.06 kB / 0.7334 GB, free: 2.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/1.521, allocations: 30.12 kB / 0.7334 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.522, allocations: 315.2 kB / 0.7337 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.522, allocations: 4 kB / 0.7337 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/1.522, allocations: 11.38 kB / 0.7337 GB, free: 2.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/1.522, allocations: 10.98 kB / 0.7338 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/1.522, allocations: 212.2 kB / 0.734 GB, free: 2.395 MB / 0.545 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.003064/1.525, allocations: 1.539 MB / 0.7355 GB, free: 1.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/1.526, allocations: 123.3 kB / 0.7356 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/1.527, allocations: 142.4 kB / 0.7357 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.527, allocations: 33.44 kB / 0.7357 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/1.527, allocations: 0 / 0.7357 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0009969/1.528, allocations: 286.3 kB / 0.736 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/1.528, allocations: 62.14 kB / 0.7361 GB, free: 0.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/1.528, allocations: 305.6 kB / 0.7364 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/1.528, allocations: 28.7 kB / 0.7364 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/1.528, allocations: 188.9 kB / 0.7366 GB, free: 368 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/1.529, allocations: 40.66 kB / 0.7366 GB, free: 336 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/1.529, allocations: 0 / 0.7366 GB, free: 336 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.529, allocations: 339.3 kB / 0.7369 GB, free: 4 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/1.529, allocations: 62.97 kB / 0.737 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/1.529, allocations: 122.1 kB / 0.7371 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/1.53, allocations: 85.03 kB / 0.7372 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.53, allocations: 0 / 0.7372 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006681/1.53, allocations: 224.3 kB / 0.7374 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.53, allocations: 13.39 kB / 0.7374 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.53, allocations: 2.438 kB / 0.7374 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.53, allocations: 3.25 kB / 0.7374 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/1.531, allocations: 33.8 kB / 0.7375 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.531, allocations: 6.938 kB / 0.7375 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/1.531, allocations: 44.45 kB / 0.7375 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/1.531, allocations: 13.12 kB / 0.7375 GB, free: 15.75 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.0002787/1.531, allocations: 147.2 kB / 0.7377 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/1.532, allocations: 27.22 kB / 0.7377 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/1.532, allocations: 224.2 kB / 0.7379 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.532, allocations: 0 / 0.7379 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.532, allocations: 0 / 0.7379 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.532, allocations: 1.359 kB / 0.7379 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/1.534, allocations: 0.6937 MB / 0.7386 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/1.534, allocations: 3.469 kB / 0.7386 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/1.534, allocations: 37.25 kB / 0.7386 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.534, allocations: 5.938 kB / 0.7386 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.534, allocations: 6.781 kB / 0.7386 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/1.534, allocations: 4.031 kB / 0.7386 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.534, allocations: 3.219 kB / 0.7386 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/1.535, allocations: 434.5 kB / 0.7391 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.535, allocations: 116.7 kB / 0.7392 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/1.535, allocations: 4.234 kB / 0.7392 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/1.536, allocations: 21.69 kB / 0.7392 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/1.536, allocations: 19.55 kB / 0.7392 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.536, allocations: 3.453 kB / 0.7392 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003693/1.536, allocations: 223.3 kB / 0.7394 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.536, allocations: 0 / 0.7394 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004479/1.541, allocations: 71.55 kB / 0.7395 GB, free: 14.37 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.002261/1.543, allocations: 1.505 MB / 0.741 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000655/1.544, allocations: 165.2 kB / 0.7411 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.544, allocations: 4.25 kB / 0.7411 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/1.544, allocations: 84.53 kB / 0.7412 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.545, allocations: 147 kB / 0.7413 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/1.55, allocations: 2.391 MB / 0.7437 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.551, allocations: 0.7928 MB / 0.7445 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000491/1.551, allocations: 60.48 kB / 0.7445 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/1.551, allocations: 90.84 kB / 0.7446 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of SimCode: time 3.166e-06/1.551, allocations: 0 / 0.7446 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/1.623, allocations: 7.508 MB / 0.7519 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000399/1.623, allocations: 208.7 kB / 0.7521 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/4.909, allocations: 3.938 kB / 0.7521 GB, free: 3.184 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: