Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001248/0.001248, allocations: 184.9 kB / 492.3 MB, free: 0.6055 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.424/1.424, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008952/0.0008952, allocations: 99.92 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.266e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.174/5.464, allocations: 1.87 GB / 3.083 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/5.464, allocations: 95.06 kB / 3.083 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6672/6.131, allocations: 346.4 MB / 3.421 GB, free: 107.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.495e-06/6.131, allocations: 4 kB / 3.421 GB, free: 107.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.798e-05/6.131, allocations: 4 kB / 3.421 GB, free: 107.8 MB / 1.151 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.001523/6.133, allocations: 0.6664 MB / 3.422 GB, free: 107.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/6.133, allocations: 8.031 kB / 3.422 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.645e-05/6.133, allocations: 58.55 kB / 3.422 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/6.133, allocations: 67.48 kB / 3.422 GB, free: 106.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/6.134, allocations: 326.6 kB / 3.422 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/6.134, allocations: 20.44 kB / 3.422 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/6.134, allocations: 24 kB / 3.422 GB, free: 106.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/6.135, allocations: 280.4 kB / 3.422 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/6.135, allocations: 4 kB / 3.422 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/6.135, allocations: 8 kB / 3.422 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/6.135, allocations: 8 kB / 3.422 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/6.135, allocations: 139.8 kB / 3.423 GB, free: 106.1 MB / 1.151 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.001554/6.136, allocations: 1.714 MB / 3.424 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/6.137, allocations: 74.53 kB / 3.424 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/6.137, allocations: 68.86 kB / 3.424 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/6.137, allocations: 186.2 kB / 3.424 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/6.137, allocations: 30.56 kB / 3.425 GB, free: 103.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/6.137, allocations: 0 / 3.425 GB, free: 103.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0004517/6.137, allocations: 153.4 kB / 3.425 GB, free: 103.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/6.138, allocations: 55.41 kB / 3.425 GB, free: 103.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/6.138, allocations: 282.7 kB / 3.425 GB, free: 103.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/6.138, allocations: 29.7 kB / 3.425 GB, free: 103.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/6.138, allocations: 199.8 kB / 3.425 GB, free: 103.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/6.138, allocations: 39.55 kB / 3.425 GB, free: 103.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/6.138, allocations: 0 / 3.425 GB, free: 103.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/6.138, allocations: 338.8 kB / 3.426 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/6.138, allocations: 43.92 kB / 3.426 GB, free: 102.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/6.138, allocations: 195.3 kB / 3.426 GB, free: 102.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/6.138, allocations: 71.89 kB / 3.426 GB, free: 102.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/6.138, allocations: 0 / 3.426 GB, free: 102.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003051/6.139, allocations: 237.1 kB / 3.426 GB, free: 102.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000264/6.139, allocations: 1.402 MB / 3.427 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/6.139, allocations: 4 kB / 3.427 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/6.139, allocations: 4 kB / 3.427 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/6.139, allocations: 43.92 kB / 3.428 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/6.139, allocations: 11.98 kB / 3.428 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/6.14, allocations: 47.67 kB / 3.428 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/6.14, allocations: 12 kB / 3.428 GB, free: 100.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/6.14, allocations: 5.406 kB / 3.428 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002162/6.14, allocations: 171.7 kB / 3.428 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/6.14, allocations: 4 kB / 3.428 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/6.14, allocations: 4 kB / 3.428 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/6.14, allocations: 51.91 kB / 3.428 GB, free: 100.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/6.14, allocations: 15.88 kB / 3.428 GB, free: 100.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/6.14, allocations: 44.06 kB / 3.428 GB, free: 100.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/6.14, allocations: 16 kB / 3.428 GB, free: 100.2 MB / 1.151 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 7.309e-05/6.14, allocations: 122.4 kB / 3.428 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/6.14, allocations: 27.62 kB / 3.428 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/6.141, allocations: 144.6 kB / 3.428 GB, free: 99.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/6.141, allocations: 0 / 3.428 GB, free: 99.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/6.141, allocations: 0 / 3.428 GB, free: 99.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/6.141, allocations: 0 / 3.428 GB, free: 99.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/6.141, allocations: 0.5858 MB / 3.429 GB, free: 99.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/6.141, allocations: 0 / 3.429 GB, free: 99.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/6.142, allocations: 40.19 kB / 3.429 GB, free: 99.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/6.142, allocations: 0 / 3.429 GB, free: 99.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/6.142, allocations: 4 kB / 3.429 GB, free: 99.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/6.142, allocations: 7.953 kB / 3.429 GB, free: 99.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/6.142, allocations: 3.938 kB / 3.429 GB, free: 99.14 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/6.142, allocations: 353.5 kB / 3.429 GB, free: 98.72 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/6.142, allocations: 124.6 kB / 3.429 GB, free: 98.58 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/6.142, allocations: 11.95 kB / 3.429 GB, free: 98.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/6.142, allocations: 15.98 kB / 3.429 GB, free: 98.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/6.142, allocations: 19.92 kB / 3.429 GB, free: 98.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/6.142, allocations: 4 kB / 3.429 GB, free: 98.53 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001895/6.142, allocations: 226.2 kB / 3.43 GB, free: 98.31 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.143, allocations: 0 / 3.43 GB, free: 98.31 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001049/6.144, allocations: 251.8 kB / 3.43 GB, free: 98.06 MB / 1.151 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.002327/6.146, allocations: 2.519 MB / 3.432 GB, free: 95.44 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003949/6.146, allocations: 227.1 kB / 3.432 GB, free: 95.22 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/6.146, allocations: 0 / 3.432 GB, free: 95.22 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/6.146, allocations: 48.3 kB / 3.432 GB, free: 95.17 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/6.147, allocations: 141.9 kB / 3.433 GB, free: 95.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/6.148, allocations: 458.2 kB / 3.433 GB, free: 94.53 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/6.148, allocations: 0.7843 MB / 3.434 GB, free: 93.72 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003758/6.149, allocations: 111.5 kB / 3.434 GB, free: 93.61 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/6.149, allocations: 87.41 kB / 3.434 GB, free: 93.52 MB / 1.151 GB Notification: Performance of SimCode: time 4.21e-07/6.149, allocations: 0 / 3.434 GB, free: 93.52 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05135/6.2, allocations: 30.89 MB / 3.464 GB, free: 62.76 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/6.201, allocations: 174.3 kB / 3.464 GB, free: 62.54 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/9.383, allocations: 0 / 3.464 GB, free: 62.54 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat does not exist to compare? outputFormat=mat