Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.348/2.348, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 180 kB / 0.4901 GB, free: 2.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.878/1.878, allocations: 223.1 MB / 0.7992 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 115 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 11.81 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.378, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.916/6.294, allocations: 1.871 GB / 3.1 GB, free: 96.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/6.294, allocations: 90.52 kB / 3.1 GB, free: 96.24 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.367/7.661, allocations: 346.7 MB / 3.439 GB, free: 225.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.254e-06/7.661, allocations: 4 kB / 3.439 GB, free: 225.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.819e-05/7.661, allocations: 8 kB / 3.439 GB, free: 225.5 MB / 1.167 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.001143/7.663, allocations: 0.7094 MB / 3.44 GB, free: 224.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/7.663, allocations: 12.83 kB / 3.44 GB, free: 224.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/7.663, allocations: 54.53 kB / 3.44 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/7.663, allocations: 63.55 kB / 3.44 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/7.663, allocations: 330.6 kB / 3.44 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/7.663, allocations: 24.38 kB / 3.44 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/7.663, allocations: 24 kB / 3.44 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/7.664, allocations: 292.6 kB / 3.44 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/7.664, allocations: 0 / 3.44 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/7.664, allocations: 11.98 kB / 3.44 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/7.664, allocations: 8 kB / 3.44 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/7.664, allocations: 183.7 kB / 3.441 GB, free: 223.6 MB / 1.167 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.001384/7.666, allocations: 1.713 MB / 3.442 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/7.666, allocations: 90.5 kB / 3.442 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/7.666, allocations: 186.2 kB / 3.442 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/7.666, allocations: 38.56 kB / 3.443 GB, free: 221.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/7.666, allocations: 0 / 3.443 GB, free: 221.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0006131/7.667, allocations: 229.3 kB / 3.443 GB, free: 221.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/7.667, allocations: 51.62 kB / 3.443 GB, free: 221.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/7.667, allocations: 291.5 kB / 3.443 GB, free: 220.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/7.667, allocations: 29.7 kB / 3.443 GB, free: 220.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/7.667, allocations: 191.9 kB / 3.443 GB, free: 220.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/7.667, allocations: 47.38 kB / 3.443 GB, free: 220.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/7.667, allocations: 4 kB / 3.443 GB, free: 220.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/7.667, allocations: 346.8 kB / 3.444 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/7.667, allocations: 63.75 kB / 3.444 GB, free: 220.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/7.668, allocations: 201.8 kB / 3.444 GB, free: 219.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/7.668, allocations: 99.88 kB / 3.444 GB, free: 219.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/7.668, allocations: 0 / 3.444 GB, free: 219.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003838/7.668, allocations: 261 kB / 3.444 GB, free: 219.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/7.668, allocations: 1.393 MB / 3.446 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/7.668, allocations: 7.984 kB / 3.446 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/7.668, allocations: 8 kB / 3.446 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/7.669, allocations: 47.92 kB / 3.446 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/7.669, allocations: 7.984 kB / 3.446 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/7.669, allocations: 39.73 kB / 3.446 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/7.669, allocations: 16 kB / 3.446 GB, free: 217.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/7.669, allocations: 7.938 kB / 3.446 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003189/7.669, allocations: 203.9 kB / 3.446 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/7.669, allocations: 8.031 kB / 3.446 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/7.669, allocations: 4 kB / 3.446 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/7.67, allocations: 55.88 kB / 3.446 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/7.67, allocations: 11.92 kB / 3.446 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/7.67, allocations: 39.67 kB / 3.446 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/7.67, allocations: 12 kB / 3.446 GB, free: 217.6 MB / 1.167 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.0001235/7.67, allocations: 237 kB / 3.446 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/7.67, allocations: 27.81 kB / 3.446 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/7.67, allocations: 176.3 kB / 3.446 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/7.67, allocations: 11.95 kB / 3.446 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/7.67, allocations: 0 / 3.446 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/7.67, allocations: 0 / 3.446 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/7.671, allocations: 0.617 MB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/7.671, allocations: 8 kB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/7.671, allocations: 27.97 kB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/7.671, allocations: 4.547 kB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/7.671, allocations: 8 kB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/7.671, allocations: 4 kB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/7.671, allocations: 7.938 kB / 3.447 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/7.672, allocations: 393 kB / 3.448 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/7.672, allocations: 116.8 kB / 3.448 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/7.672, allocations: 0 / 3.448 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/7.672, allocations: 23.98 kB / 3.448 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/7.672, allocations: 19.88 kB / 3.448 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/7.672, allocations: 4 kB / 3.448 GB, free: 215.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001647/7.672, allocations: 223 kB / 3.448 GB, free: 215.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/7.672, allocations: 0 / 3.448 GB, free: 215.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009227/7.673, allocations: 255.8 kB / 3.448 GB, free: 215.3 MB / 1.167 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.002109/7.675, allocations: 2.552 MB / 3.451 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005186/7.676, allocations: 256.5 kB / 3.451 GB, free: 212.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/7.676, allocations: 1 kB / 3.451 GB, free: 212.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/7.676, allocations: 72.2 kB / 3.451 GB, free: 212.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/7.677, allocations: 145.5 kB / 3.451 GB, free: 212.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/7.679, allocations: 3.888 MB / 3.455 GB, free: 208.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/7.679, allocations: 0.7836 MB / 3.456 GB, free: 207.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002774/7.679, allocations: 82.89 kB / 3.456 GB, free: 207.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/7.679, allocations: 91.41 kB / 3.456 GB, free: 207.1 MB / 1.167 GB Notification: Performance of SimCode: time 3.11e-07/7.679, allocations: 0 / 3.456 GB, free: 207.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/7.723, allocations: 27.06 MB / 3.482 GB, free: 180.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/7.723, allocations: 214.1 kB / 3.482 GB, free: 180 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/10.62, allocations: 3.938 kB / 3.482 GB, free: 180 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat does not exist to compare? outputFormat=mat