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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7185/0.7185, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 101.4 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.784e-05, allocations: 4.406 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1754, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.595, allocations: 1.83 GB / 2.471 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/5.595, allocations: 83.27 kB / 2.471 GB, free: 65.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.147/6.742, allocations: 300.5 MB / 2.764 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/6.742, allocations: 0 / 2.764 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.639e-05/6.742, allocations: 15.98 kB / 2.764 GB, free: 42.49 MB / 0.6823 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.001445/6.744, allocations: 0.6425 MB / 2.765 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/6.744, allocations: 12.03 kB / 2.765 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/6.744, allocations: 62.53 kB / 2.765 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/6.744, allocations: 59.5 kB / 2.765 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/6.745, allocations: 326.5 kB / 2.765 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/6.745, allocations: 24.56 kB / 2.765 GB, free: 41.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/6.745, allocations: 28 kB / 2.765 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/6.746, allocations: 291.7 kB / 2.766 GB, free: 40.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/6.746, allocations: 4 kB / 2.766 GB, free: 40.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/6.746, allocations: 12 kB / 2.766 GB, free: 40.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/6.746, allocations: 8 kB / 2.766 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/6.746, allocations: 169.6 kB / 2.766 GB, free: 40.75 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001505/6.747, allocations: 1.523 MB / 2.767 GB, free: 39.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/6.748, allocations: 98.5 kB / 2.767 GB, free: 38.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/6.748, allocations: 72.83 kB / 2.768 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/6.748, allocations: 303.2 kB / 2.768 GB, free: 38.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/6.748, allocations: 34.84 kB / 2.768 GB, free: 38.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/6.748, allocations: 4 kB / 2.768 GB, free: 38.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004822/6.749, allocations: 173.3 kB / 2.768 GB, free: 38.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/6.749, allocations: 59.36 kB / 2.768 GB, free: 38.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/6.749, allocations: 278.7 kB / 2.768 GB, free: 37.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/6.749, allocations: 29.7 kB / 2.768 GB, free: 37.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/6.749, allocations: 184 kB / 2.769 GB, free: 37.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/6.749, allocations: 47.3 kB / 2.769 GB, free: 37.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/6.749, allocations: 4 kB / 2.769 GB, free: 37.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/6.749, allocations: 342.8 kB / 2.769 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/6.749, allocations: 39.98 kB / 2.769 GB, free: 37.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/6.75, allocations: 99.95 kB / 2.769 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/6.75, allocations: 55.97 kB / 2.769 GB, free: 37.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/6.75, allocations: 0 / 2.769 GB, free: 37.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002581/6.75, allocations: 181.2 kB / 2.769 GB, free: 36.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/6.75, allocations: 4 kB / 2.769 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/6.75, allocations: 4 kB / 2.769 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/6.75, allocations: 4.094 kB / 2.769 GB, free: 36.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/6.75, allocations: 47.97 kB / 2.769 GB, free: 36.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/6.75, allocations: 0 / 2.769 GB, free: 36.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/6.75, allocations: 35.69 kB / 2.769 GB, free: 36.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/6.75, allocations: 12 kB / 2.769 GB, free: 36.87 MB / 0.6823 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 () * 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 7.12e-05/6.751, allocations: 116.9 kB / 2.769 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/6.751, allocations: 35.61 kB / 2.77 GB, free: 36.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/6.751, allocations: 169.8 kB / 2.77 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/6.751, allocations: 4 kB / 2.77 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/6.751, allocations: 0 / 2.77 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/6.751, allocations: 3.984 kB / 2.77 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/6.752, allocations: 0.6406 MB / 2.77 GB, free: 35.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/6.752, allocations: 8.109 kB / 2.77 GB, free: 35.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/6.752, allocations: 31.98 kB / 2.77 GB, free: 35.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/6.752, allocations: 3.953 kB / 2.77 GB, free: 35.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/6.752, allocations: 12.16 kB / 2.77 GB, free: 35.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/6.752, allocations: 7.938 kB / 2.77 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/6.752, allocations: 0 / 2.77 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/6.752, allocations: 381.1 kB / 2.771 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/6.753, allocations: 132.7 kB / 2.771 GB, free: 35.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/6.753, allocations: 4 kB / 2.771 GB, free: 35.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/6.753, allocations: 19.98 kB / 2.771 GB, free: 35.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/6.753, allocations: 7.984 kB / 2.771 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/6.753, allocations: 8 kB / 2.771 GB, free: 35.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002019/6.753, allocations: 226.2 kB / 2.771 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/6.753, allocations: 0 / 2.771 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001045/6.754, allocations: 179.8 kB / 2.771 GB, free: 34.72 MB / 0.6823 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 () * 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.0036/6.758, allocations: 2.487 MB / 2.774 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003203/6.758, allocations: 123.8 kB / 2.774 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/6.758, allocations: 0 / 2.774 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/6.758, allocations: 67.86 kB / 2.774 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/6.759, allocations: 147.6 kB / 2.774 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/6.76, allocations: 462.6 kB / 2.774 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/6.761, allocations: 0.7875 MB / 2.775 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002667/6.761, allocations: 58.94 kB / 2.775 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/6.761, allocations: 87.41 kB / 2.775 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.323e-06/6.761, allocations: 0 / 2.775 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05388/6.815, allocations: 29.58 MB / 2.804 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/6.815, allocations: 181.2 kB / 2.804 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/9.727, allocations: 0 / 2.804 GB, free: 0.6758 MB / 0.6823 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)