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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6965/0.6965, 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.565/1.565, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.0008884/0.0008886, allocations: 87.8 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.87e-05, allocations: 4 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.24/5.408, allocations: 1.83 GB / 2.471 GB, free: 99.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.408, allocations: 87.95 kB / 2.471 GB, free: 99.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.142/6.55, allocations: 300.5 MB / 2.764 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/6.55, allocations: 0 / 2.764 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.828e-05/6.55, allocations: 15.98 kB / 2.764 GB, free: 70.41 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.001472/6.552, allocations: 0.6487 MB / 2.765 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/6.552, allocations: 8.031 kB / 2.765 GB, free: 69.71 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/6.552, allocations: 62.53 kB / 2.765 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/6.553, allocations: 63.5 kB / 2.765 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/6.553, allocations: 318.9 kB / 2.765 GB, free: 69.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/6.553, allocations: 24.5 kB / 2.765 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/6.553, allocations: 28 kB / 2.765 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/6.554, allocations: 295.8 kB / 2.766 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/6.554, allocations: 3.938 kB / 2.766 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/6.554, allocations: 8 kB / 2.766 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/6.554, allocations: 8 kB / 2.766 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/6.554, allocations: 161.7 kB / 2.766 GB, free: 68.68 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.001489/6.556, allocations: 1.538 MB / 2.767 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/6.556, allocations: 94.55 kB / 2.767 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/6.556, allocations: 68.84 kB / 2.768 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/6.556, allocations: 299.5 kB / 2.768 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/6.556, allocations: 38.5 kB / 2.768 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/6.556, allocations: 0 / 2.768 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004996/6.557, allocations: 177.2 kB / 2.768 GB, free: 66.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/6.557, allocations: 51.41 kB / 2.768 GB, free: 66.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/6.557, allocations: 270.7 kB / 2.768 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/6.557, allocations: 33.7 kB / 2.768 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/6.557, allocations: 180.1 kB / 2.769 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/6.557, allocations: 51.3 kB / 2.769 GB, free: 65.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/6.557, allocations: 0 / 2.769 GB, free: 65.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.032e-05/6.557, allocations: 342.8 kB / 2.769 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/6.558, allocations: 43.98 kB / 2.769 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/6.558, allocations: 108 kB / 2.769 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/6.558, allocations: 51.97 kB / 2.769 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.558, allocations: 0 / 2.769 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002579/6.558, allocations: 185.2 kB / 2.769 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/6.558, allocations: 8 kB / 2.769 GB, free: 64.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/6.558, allocations: 7.969 kB / 2.769 GB, free: 64.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/6.558, allocations: 7.938 kB / 2.769 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/6.558, allocations: 35.92 kB / 2.769 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/6.558, allocations: 0 / 2.769 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/6.559, allocations: 43.89 kB / 2.769 GB, free: 64.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/6.559, allocations: 7.984 kB / 2.769 GB, free: 64.8 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.21e-05/6.559, allocations: 112.9 kB / 2.769 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/6.559, allocations: 31.62 kB / 2.77 GB, free: 64.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/6.559, allocations: 186.8 kB / 2.77 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/6.559, allocations: 3.984 kB / 2.77 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/6.559, allocations: 0 / 2.77 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/6.559, allocations: 4 kB / 2.77 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/6.56, allocations: 0.6329 MB / 2.77 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.56, allocations: 8.031 kB / 2.77 GB, free: 63.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/6.56, allocations: 31.92 kB / 2.77 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/6.56, allocations: 4 kB / 2.77 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/6.56, allocations: 7.953 kB / 2.77 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/6.56, allocations: 4 kB / 2.77 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/6.56, allocations: 4 kB / 2.77 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/6.56, allocations: 389 kB / 2.771 GB, free: 63.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/6.56, allocations: 120.8 kB / 2.771 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/6.561, allocations: 4 kB / 2.771 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/6.561, allocations: 27.92 kB / 2.771 GB, free: 63.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/6.561, allocations: 11.92 kB / 2.771 GB, free: 63.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/6.561, allocations: 12 kB / 2.771 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001749/6.561, allocations: 218.2 kB / 2.771 GB, free: 62.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/6.561, allocations: 0 / 2.771 GB, free: 62.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008337/6.562, allocations: 175.9 kB / 2.771 GB, free: 62.65 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.00251/6.564, allocations: 2.493 MB / 2.774 GB, free: 60.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002709/6.565, allocations: 119.8 kB / 2.774 GB, free: 59.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/6.565, allocations: 0 / 2.774 GB, free: 59.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/6.565, allocations: 72.17 kB / 2.774 GB, free: 59.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/6.566, allocations: 144.7 kB / 2.774 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/6.567, allocations: 466.7 kB / 2.775 GB, free: 59.22 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/6.567, allocations: 0.7875 MB / 2.775 GB, free: 58.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002191/6.567, allocations: 54.94 kB / 2.775 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/6.567, allocations: 91.41 kB / 2.775 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of SimCode: time 4.31e-07/6.567, allocations: 0 / 2.775 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/6.62, allocations: 29.58 MB / 2.804 GB, free: 28.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/6.621, allocations: 191.8 kB / 2.804 GB, free: 28.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/9.612, allocations: 0 / 2.804 GB, free: 28.6 MB / 0.6823 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)