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.01073/0.01073, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 135.2 MB / 151 MB, free: 13.82 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.44/1.44, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009212, allocations: 97.78 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4061, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5.084, allocations: 1.833 GB / 2.483 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/5.084, allocations: 95.88 kB / 2.483 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.176/6.26, allocations: 346.7 MB / 2.821 GB, free: 32.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.248e-06/6.26, allocations: 0 / 2.821 GB, free: 32.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.982e-05/6.26, allocations: 12 kB / 2.821 GB, free: 32.36 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.001686/6.262, allocations: 0.7128 MB / 2.822 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/6.262, allocations: 8.031 kB / 2.822 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.363e-05/6.262, allocations: 59.91 kB / 2.822 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/6.262, allocations: 59.59 kB / 2.822 GB, free: 31.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/6.263, allocations: 334.5 kB / 2.822 GB, free: 31.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/6.263, allocations: 16.44 kB / 2.822 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/6.263, allocations: 24 kB / 2.822 GB, free: 31.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/6.264, allocations: 296.6 kB / 2.823 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/6.264, allocations: 0 / 2.823 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/6.264, allocations: 8 kB / 2.823 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/6.264, allocations: 15.94 kB / 2.823 GB, free: 30.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/6.264, allocations: 175.7 kB / 2.823 GB, free: 30.54 MB / 0.6823 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.001695/6.266, allocations: 1.722 MB / 2.825 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/6.266, allocations: 86.56 kB / 2.825 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/6.266, allocations: 198.2 kB / 2.825 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/6.266, allocations: 34.5 kB / 2.825 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/6.266, allocations: 0 / 2.825 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007133/6.267, allocations: 233.4 kB / 2.825 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/6.267, allocations: 55.34 kB / 2.825 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/6.267, allocations: 283.7 kB / 2.825 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/6.267, allocations: 29.7 kB / 2.826 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/6.268, allocations: 191.9 kB / 2.826 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/6.268, allocations: 39.39 kB / 2.826 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/6.268, allocations: 8 kB / 2.826 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001302/6.268, allocations: 338.8 kB / 2.826 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/6.268, allocations: 55.95 kB / 2.826 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/6.268, allocations: 207.3 kB / 2.826 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/6.268, allocations: 92.41 kB / 2.826 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/6.268, allocations: 4 kB / 2.826 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004115/6.269, allocations: 261.1 kB / 2.827 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005349/6.269, allocations: 1.402 MB / 2.828 GB, free: 24.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/6.269, allocations: 7.984 kB / 2.828 GB, free: 24.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/6.269, allocations: 4 kB / 2.828 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/6.269, allocations: 55.92 kB / 2.828 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/6.27, allocations: 7.984 kB / 2.828 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/6.27, allocations: 39.73 kB / 2.828 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/6.27, allocations: 12 kB / 2.828 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/6.27, allocations: 5.094 kB / 2.828 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000341/6.27, allocations: 211.9 kB / 2.828 GB, free: 24.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/6.27, allocations: 7.984 kB / 2.828 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/6.27, allocations: 8 kB / 2.828 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/6.27, allocations: 43.92 kB / 2.828 GB, free: 24.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/6.27, allocations: 11.92 kB / 2.828 GB, free: 24.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/6.271, allocations: 39.77 kB / 2.828 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/6.271, allocations: 19.98 kB / 2.828 GB, free: 24.47 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 () * Number of clocked 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 0.0001836/6.271, allocations: 233.1 kB / 2.829 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/6.271, allocations: 31.56 kB / 2.829 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/6.271, allocations: 176.4 kB / 2.829 GB, free: 24.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/6.271, allocations: 4 kB / 2.829 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/6.271, allocations: 0 / 2.829 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/6.271, allocations: 0 / 2.829 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/6.272, allocations: 0.6133 MB / 2.829 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/6.272, allocations: 4 kB / 2.829 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/6.272, allocations: 35.91 kB / 2.83 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/6.272, allocations: 12.17 kB / 2.83 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/6.272, allocations: 4 kB / 2.83 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/6.272, allocations: 0 / 2.83 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/6.272, allocations: 4 kB / 2.83 GB, free: 23.26 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/6.273, allocations: 399.3 kB / 2.83 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/6.273, allocations: 116.7 kB / 2.83 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/6.273, allocations: 12 kB / 2.83 GB, free: 22.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/6.273, allocations: 19.98 kB / 2.83 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/6.273, allocations: 15.92 kB / 2.83 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/6.273, allocations: 4 kB / 2.83 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001928/6.273, allocations: 227 kB / 2.83 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/6.273, allocations: 0 / 2.83 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001252/6.275, allocations: 251.8 kB / 2.831 GB, free: 22.14 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 () * Number of clocked 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.00284/6.278, allocations: 2.549 MB / 2.833 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005853/6.278, allocations: 257 kB / 2.833 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.278, allocations: 4 kB / 2.833 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/6.278, allocations: 71.95 kB / 2.833 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/6.279, allocations: 134.3 kB / 2.833 GB, free: 19.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/6.282, allocations: 3.901 MB / 2.837 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/6.282, allocations: 0.7836 MB / 2.838 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002955/6.282, allocations: 90.88 kB / 2.838 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/6.282, allocations: 91.41 kB / 2.838 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/6.282, allocations: 0 / 2.838 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5925/6.875, allocations: 27.04 MB / 2.865 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/6.875, allocations: 194.4 kB / 2.865 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/10, allocations: 0 / 2.865 GB, free: 159.3 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)