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.001382/0.001382, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001704/0.001704, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.911/1.911, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.141/1.141, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 64.89 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.233, allocations: 80.92 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8247/1.058, allocations: 165.3 MB / 0.7454 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01532/1.073, allocations: 6.493 MB / 0.7517 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/1.074, allocations: 11.44 kB / 0.7517 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/1.075, allocations: 143.2 kB / 0.7519 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004334/1.08, allocations: 0.7944 MB / 0.7526 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/1.081, allocations: 304.2 kB / 0.7529 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001831/1.083, allocations: 0.7157 MB / 0.7536 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/1.084, allocations: 264.7 kB / 0.7539 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.086, allocations: 0.5409 MB / 0.7544 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008421/1.087, allocations: 290.5 kB / 0.7547 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/1.087, allocations: 23.56 kB / 0.7547 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/1.089, allocations: 345.3 kB / 0.755 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/1.089, allocations: 112.8 kB / 0.7551 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004254/1.09, allocations: 159.2 kB / 0.7553 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/1.091, allocations: 498.4 kB / 0.7558 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.091, allocations: 0 / 0.7558 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/1.091, allocations: 0 / 0.7558 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.53e-05/1.091, allocations: 0 / 0.7558 GB, free: 13.41 MB / 0.5762 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.001554/1.093, allocations: 0.6194 MB / 0.7564 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/1.093, allocations: 12.03 kB / 0.7564 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/1.093, allocations: 60.17 kB / 0.7564 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/1.094, allocations: 63.44 kB / 0.7565 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/1.094, allocations: 313.2 kB / 0.7568 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/1.094, allocations: 16.56 kB / 0.7568 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/1.095, allocations: 28 kB / 0.7568 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/1.095, allocations: 315.7 kB / 0.7571 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.095, allocations: 0 / 0.7571 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/1.096, allocations: 12 kB / 0.7572 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/1.096, allocations: 8 kB / 0.7572 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/1.096, allocations: 213.4 kB / 0.7574 GB, free: 11.65 MB / 0.5762 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.002761/1.099, allocations: 1.527 MB / 0.7589 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/1.1, allocations: 118.5 kB / 0.759 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/1.1, allocations: 92.8 kB / 0.7591 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/1.101, allocations: 311.2 kB / 0.7594 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.101, allocations: 34.56 kB / 0.7594 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/1.101, allocations: 0 / 0.7594 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.00122/1.102, allocations: 270.4 kB / 0.7596 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/1.102, allocations: 59.34 kB / 0.7597 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/1.103, allocations: 308.5 kB / 0.76 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.103, allocations: 29.69 kB / 0.76 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/1.103, allocations: 184.1 kB / 0.7602 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/1.103, allocations: 43.44 kB / 0.7602 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.103, allocations: 37.62 kB / 0.7603 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002235/1.104, allocations: 350.7 kB / 0.7606 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/1.104, allocations: 55.95 kB / 0.7607 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/1.104, allocations: 119.7 kB / 0.7608 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/1.105, allocations: 174.3 kB / 0.7609 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.105, allocations: 0 / 0.7609 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008884/1.106, allocations: 213.2 kB / 0.7611 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.106, allocations: 4 kB / 0.7612 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.106, allocations: 0 / 0.7612 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.106, allocations: 4 kB / 0.7612 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/1.106, allocations: 43.91 kB / 0.7612 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.106, allocations: 0 / 0.7612 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/1.107, allocations: 43.77 kB / 0.7612 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/1.107, allocations: 8 kB / 0.7612 GB, free: 7.371 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.0002582/1.107, allocations: 157.7 kB / 0.7614 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.107, allocations: 27.62 kB / 0.7614 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007893/1.108, allocations: 207.8 kB / 0.7616 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.108, allocations: 0 / 0.7616 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.108, allocations: 4 kB / 0.7616 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.108, allocations: 4.031 kB / 0.7616 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/1.11, allocations: 0.6834 MB / 0.7623 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.11, allocations: 3.984 kB / 0.7623 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/1.11, allocations: 27.98 kB / 0.7623 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/1.11, allocations: 1.25 kB / 0.7623 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/1.11, allocations: 7.938 kB / 0.7623 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/1.11, allocations: 7.938 kB / 0.7623 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.11, allocations: 0 / 0.7623 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.112, allocations: 341.2 kB / 0.7627 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/1.112, allocations: 112.8 kB / 0.7628 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/1.112, allocations: 7.938 kB / 0.7628 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/1.112, allocations: 19.98 kB / 0.7628 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/1.112, allocations: 7.984 kB / 0.7628 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/1.112, allocations: 6.062 kB / 0.7628 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004184/1.113, allocations: 231 kB / 0.763 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/1.113, allocations: 0 / 0.763 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007179/1.114, allocations: 75.84 kB / 0.7631 GB, free: 5.324 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.001796/1.115, allocations: 0.927 MB / 0.764 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007433/1.116, allocations: 163.7 kB / 0.7642 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.116, allocations: 12.25 kB / 0.7642 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003272/1.117, allocations: 79.89 kB / 0.7643 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.118, allocations: 142 kB / 0.7644 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/1.125, allocations: 2.91 MB / 0.7672 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/1.125, allocations: 0.7795 MB / 0.768 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004026/1.126, allocations: 66.88 kB / 0.7681 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/1.126, allocations: 91.45 kB / 0.7681 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of SimCode: time 4.127e-06/1.126, allocations: 0 / 0.7681 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/1.168, allocations: 7.86 MB / 0.7758 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004219/1.169, allocations: 234.6 kB / 0.776 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/4.325, allocations: 0 / 0.776 GB, free: 8.078 MB / 0.5919 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/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)