Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.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.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",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.001113/0.001113, allocations: 175.2 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.7382/0.7382, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.562/1.562, allocations: 221.3 MB / 400.4 MB, free: 5.77 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.0009719/0.000972, allocations: 94.23 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.115e-05, allocations: 6.344 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1831, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.922/5.106, allocations: 1.833 GB / 2.474 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/5.106, allocations: 84.83 kB / 2.474 GB, free: 62.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.649/6.755, allocations: 346.4 MB / 2.812 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/6.755, allocations: 0 / 2.812 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.403e-05/6.755, allocations: 15.86 kB / 2.812 GB, free: 164.9 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001706/6.757, allocations: 0.6666 MB / 2.813 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/6.757, allocations: 10.12 kB / 2.813 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/6.757, allocations: 57.81 kB / 2.813 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/6.757, allocations: 62.5 kB / 2.813 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/6.758, allocations: 322.5 kB / 2.813 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/6.758, allocations: 19.44 kB / 2.813 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/6.758, allocations: 28 kB / 2.813 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/6.759, allocations: 273.3 kB / 2.813 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/6.759, allocations: 4.031 kB / 2.813 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/6.759, allocations: 13.06 kB / 2.813 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/6.759, allocations: 5.688 kB / 2.813 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/6.759, allocations: 138.1 kB / 2.813 GB, free: 164.2 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.001912/6.761, allocations: 1.72 MB / 2.815 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/6.761, allocations: 77.52 kB / 2.815 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/6.761, allocations: 68.22 kB / 2.815 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/6.762, allocations: 187.7 kB / 2.815 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/6.762, allocations: 34.84 kB / 2.815 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.425e-06/6.762, allocations: 0 / 2.815 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0005024/6.762, allocations: 150.7 kB / 2.816 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/6.762, allocations: 52.44 kB / 2.816 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/6.763, allocations: 282.8 kB / 2.816 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/6.763, allocations: 30.67 kB / 2.816 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/6.763, allocations: 199.6 kB / 2.816 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/6.763, allocations: 37.86 kB / 2.816 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/6.763, allocations: 4.688 kB / 2.816 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000128/6.763, allocations: 340.4 kB / 2.817 GB, free: 162 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/6.763, allocations: 44.02 kB / 2.817 GB, free: 162 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/6.763, allocations: 186.5 kB / 2.817 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/6.763, allocations: 71.11 kB / 2.817 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/6.763, allocations: 1.531 kB / 2.817 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004492/6.764, allocations: 221.6 kB / 2.817 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004115/6.764, allocations: 1.399 MB / 2.818 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/6.764, allocations: 3.469 kB / 2.818 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/6.764, allocations: 5.781 kB / 2.818 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/6.765, allocations: 55.92 kB / 2.818 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/6.765, allocations: 5.5 kB / 2.818 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/6.765, allocations: 49.62 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/6.765, allocations: 12.03 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/6.765, allocations: 6.625 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003353/6.765, allocations: 174.2 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/6.766, allocations: 4.344 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/6.766, allocations: 5.672 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/6.766, allocations: 53.22 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/6.766, allocations: 10.33 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/6.766, allocations: 41.41 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/6.766, allocations: 16.91 kB / 2.819 GB, free: 160.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.398e-05/6.766, allocations: 124.5 kB / 2.819 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/6.766, allocations: 29.72 kB / 2.819 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/6.767, allocations: 147.5 kB / 2.819 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/6.767, allocations: 1.375 kB / 2.819 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/6.767, allocations: 3.953 kB / 2.819 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/6.767, allocations: 2.094 kB / 2.819 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/6.768, allocations: 0.5853 MB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/6.768, allocations: 1.125 kB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/6.768, allocations: 31.38 kB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/6.768, allocations: 5.625 kB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/6.768, allocations: 7.125 kB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/6.768, allocations: 6.594 kB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/6.768, allocations: 2.531 kB / 2.82 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/6.768, allocations: 356.4 kB / 2.82 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/6.768, allocations: 117.2 kB / 2.82 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/6.768, allocations: 7.984 kB / 2.82 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/6.769, allocations: 16.45 kB / 2.82 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/6.769, allocations: 12.02 kB / 2.82 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/6.769, allocations: 7.594 kB / 2.82 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003289/6.769, allocations: 229.3 kB / 2.82 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/6.769, allocations: 0 / 2.82 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001516/6.771, allocations: 254.8 kB / 2.821 GB, free: 159.2 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 (11): * Single equations (assignments): 11 * 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.003604/6.774, allocations: 2.524 MB / 2.823 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00063/6.775, allocations: 217.2 kB / 2.823 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/6.775, allocations: 0 / 2.823 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/6.775, allocations: 52.17 kB / 2.823 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/6.776, allocations: 143.9 kB / 2.824 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/6.777, allocations: 450.5 kB / 2.824 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/6.778, allocations: 0.7833 MB / 2.825 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004947/6.778, allocations: 111.1 kB / 2.825 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/6.778, allocations: 83.83 kB / 2.825 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of SimCode: time 4.2e-07/6.779, allocations: 0 / 2.825 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/6.837, allocations: 30.89 MB / 2.855 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/6.837, allocations: 167 kB / 2.855 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/9.984, allocations: 3.5 kB / 2.855 GB, free: 156.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)