Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6849/0.6849, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 175.9 kB / 187.3 MB, free: 11.91 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.3 MB / 441.4 MB, free: 4.676 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.0008575/0.0008575, allocations: 91.98 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 278.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.161e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3429, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.476/3.819, allocations: 1.83 GB / 2.595 GB, free: 175.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/3.82, allocations: 86.14 kB / 2.595 GB, free: 175.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9141/4.734, allocations: 346.5 MB / 2.933 GB, free: 113.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/4.734, allocations: 0 / 2.933 GB, free: 113.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.319e-05/4.734, allocations: 4 kB / 2.933 GB, free: 113.5 MB / 0.698 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.001152/4.735, allocations: 0.6617 MB / 2.934 GB, free: 112.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/4.735, allocations: 16.02 kB / 2.934 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/4.735, allocations: 58.55 kB / 2.934 GB, free: 112.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/4.735, allocations: 59.59 kB / 2.934 GB, free: 112.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/4.736, allocations: 324.4 kB / 2.934 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/4.736, allocations: 20.38 kB / 2.934 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/4.736, allocations: 23.94 kB / 2.934 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/4.736, allocations: 288.6 kB / 2.935 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/4.736, allocations: 4 kB / 2.935 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/4.736, allocations: 12 kB / 2.935 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/4.736, allocations: 4 kB / 2.935 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/4.737, allocations: 136.8 kB / 2.935 GB, free: 111.8 MB / 0.698 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.00122/4.738, allocations: 1.714 MB / 2.936 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/4.738, allocations: 74.61 kB / 2.936 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/4.738, allocations: 60.84 kB / 2.937 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/4.738, allocations: 190.2 kB / 2.937 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/4.738, allocations: 38.52 kB / 2.937 GB, free: 109.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/4.738, allocations: 0 / 2.937 GB, free: 109.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003636/4.739, allocations: 153.4 kB / 2.937 GB, free: 109.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/4.739, allocations: 55.41 kB / 2.937 GB, free: 109.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/4.739, allocations: 286.7 kB / 2.937 GB, free: 109 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/4.739, allocations: 29.7 kB / 2.937 GB, free: 109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/4.739, allocations: 195.9 kB / 2.937 GB, free: 108.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/4.739, allocations: 39.39 kB / 2.937 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/4.739, allocations: 4 kB / 2.938 GB, free: 108.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/4.739, allocations: 338.8 kB / 2.938 GB, free: 108.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/4.739, allocations: 39.98 kB / 2.938 GB, free: 108.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/4.739, allocations: 195.4 kB / 2.938 GB, free: 108.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/4.739, allocations: 71.89 kB / 2.938 GB, free: 108 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/4.739, allocations: 4 kB / 2.938 GB, free: 108 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002508/4.74, allocations: 221.2 kB / 2.938 GB, free: 107.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/4.74, allocations: 1.399 MB / 2.94 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/4.74, allocations: 4 kB / 2.94 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/4.74, allocations: 4 kB / 2.94 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/4.74, allocations: 55.91 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/4.74, allocations: 7.953 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/4.74, allocations: 43.73 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/4.74, allocations: 15.98 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/4.74, allocations: 4 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001963/4.741, allocations: 167.9 kB / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/4.741, allocations: 4.047 kB / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/4.741, allocations: 11.98 kB / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/4.741, allocations: 47.92 kB / 2.94 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/4.741, allocations: 7.984 kB / 2.94 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/4.741, allocations: 44.02 kB / 2.94 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/4.741, allocations: 12 kB / 2.94 GB, free: 105.9 MB / 0.698 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 6.653e-05/4.741, allocations: 121 kB / 2.94 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/4.741, allocations: 39.52 kB / 2.94 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/4.741, allocations: 140.5 kB / 2.94 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/4.741, allocations: 0 / 2.94 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/4.741, allocations: 3.984 kB / 2.94 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/4.741, allocations: 0 / 2.94 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/4.742, allocations: 0.582 MB / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/4.742, allocations: 4 kB / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/4.742, allocations: 32.14 kB / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/4.742, allocations: 4 kB / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/4.742, allocations: 0 / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/4.742, allocations: 4 kB / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/4.742, allocations: 4 kB / 2.941 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/4.742, allocations: 372.9 kB / 2.941 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/4.742, allocations: 116.7 kB / 2.941 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/4.742, allocations: 4 kB / 2.941 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/4.743, allocations: 19.98 kB / 2.942 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/4.743, allocations: 15.94 kB / 2.942 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/4.743, allocations: 8 kB / 2.942 GB, free: 104.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001542/4.743, allocations: 222.2 kB / 2.942 GB, free: 104 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.92e-07/4.743, allocations: 0 / 2.942 GB, free: 104 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007906/4.744, allocations: 255.8 kB / 2.942 GB, free: 103.8 MB / 0.698 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.001551/4.745, allocations: 2.522 MB / 2.944 GB, free: 101.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002927/4.746, allocations: 213.6 kB / 2.945 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/4.746, allocations: 0 / 2.945 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/4.746, allocations: 57.41 kB / 2.945 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/4.746, allocations: 135.2 kB / 2.945 GB, free: 100.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/4.747, allocations: 455.5 kB / 2.945 GB, free: 100.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/4.747, allocations: 0.7804 MB / 2.946 GB, free: 99.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003051/4.747, allocations: 110.8 kB / 2.946 GB, free: 99.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/4.748, allocations: 87.41 kB / 2.946 GB, free: 99.23 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/4.748, allocations: 3.938 kB / 2.946 GB, free: 99.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/4.788, allocations: 30.93 MB / 2.976 GB, free: 68.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/4.788, allocations: 193.1 kB / 2.977 GB, free: 68.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/7.545, allocations: 0 / 2.977 GB, free: 68.22 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)