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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007827/0.0007828, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008615/0.0008614, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7764, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1882/0.9646, allocations: 154 MB / 1.104 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008102/0.9728, allocations: 6.783 MB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.9732, allocations: 7.938 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.9739, allocations: 147 kB / 1.111 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.9752, allocations: 437.9 kB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.9763, allocations: 361.1 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.9774, allocations: 0.8571 MB / 1.113 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.9777, allocations: 200.7 kB / 1.113 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.9784, allocations: 310.7 kB / 1.113 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.9787, allocations: 211.1 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.9787, allocations: 8 kB / 1.113 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000978/0.9797, allocations: 0.5378 MB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.9798, allocations: 87.75 kB / 1.114 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.9799, allocations: 89.52 kB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.9805, allocations: 387.1 kB / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9805, allocations: 0 / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9805, allocations: 0 / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9805, allocations: 0 / 1.114 GB, free: 11.38 MB / 0.8731 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.0008359/0.9813, allocations: 0.5882 MB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.9814, allocations: 16.03 kB / 1.115 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.9815, allocations: 50.55 kB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.9818, allocations: 71.48 kB / 1.115 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.9822, allocations: 294.2 kB / 1.115 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.9823, allocations: 20.44 kB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.9823, allocations: 24 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.9828, allocations: 304.6 kB / 1.116 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9828, allocations: 0 / 1.116 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.9828, allocations: 8 kB / 1.116 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9829, allocations: 7.938 kB / 1.116 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.9832, allocations: 183.8 kB / 1.116 GB, free: 9.695 MB / 0.8731 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.001658/0.9849, allocations: 1.713 MB / 1.118 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.9852, allocations: 94.52 kB / 1.118 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.9853, allocations: 92.78 kB / 1.118 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.9856, allocations: 186.2 kB / 1.118 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.9856, allocations: 34.56 kB / 1.118 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.9856, allocations: 3.938 kB / 1.118 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0006862/0.9863, allocations: 229.6 kB / 1.118 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.9864, allocations: 55.41 kB / 1.118 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.9867, allocations: 324.4 kB / 1.118 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.9868, allocations: 33.7 kB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.9869, allocations: 191.8 kB / 1.119 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.987, allocations: 39.45 kB / 1.119 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.987, allocations: 4 kB / 1.119 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.9871, allocations: 338.8 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.9873, allocations: 59.89 kB / 1.119 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.9876, allocations: 201 kB / 1.119 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.9878, allocations: 91.84 kB / 1.119 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9878, allocations: 7.938 kB / 1.119 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004841/0.9883, allocations: 261 kB / 1.12 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.9884, allocations: 198.2 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9884, allocations: 4 kB / 1.12 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9885, allocations: 4 kB / 1.12 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.9887, allocations: 59.91 kB / 1.12 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9887, allocations: 4 kB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.9889, allocations: 43.75 kB / 1.12 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.989, allocations: 12 kB / 1.12 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.989, allocations: 5.094 kB / 1.12 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003642/0.9894, allocations: 203.5 kB / 1.12 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.9894, allocations: 4.406 kB / 1.12 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.9894, allocations: 12 kB / 1.12 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.9895, allocations: 55.91 kB / 1.12 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9896, allocations: 7.938 kB / 1.12 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.9898, allocations: 39.73 kB / 1.12 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.9898, allocations: 11.98 kB / 1.12 GB, free: 4.785 MB / 0.8731 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.0001877/0.99, allocations: 237 kB / 1.121 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.9901, allocations: 31.67 kB / 1.121 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.9904, allocations: 180.3 kB / 1.121 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.9905, allocations: 0 / 1.121 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9905, allocations: 8 kB / 1.121 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9905, allocations: 0 / 1.121 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.9914, allocations: 0.6133 MB / 1.121 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9914, allocations: 0 / 1.121 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.9915, allocations: 35.92 kB / 1.121 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9915, allocations: 0 / 1.121 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.9916, allocations: 4.219 kB / 1.121 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.9916, allocations: 8 kB / 1.121 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9916, allocations: 0 / 1.121 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.992, allocations: 313 kB / 1.122 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.9921, allocations: 112.8 kB / 1.122 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.9921, allocations: 4 kB / 1.122 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.9923, allocations: 23.92 kB / 1.122 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.9924, allocations: 19.86 kB / 1.122 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.9924, allocations: 7.953 kB / 1.122 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002577/0.9927, allocations: 223 kB / 1.122 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9927, allocations: 4 kB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006192/0.9933, allocations: 135.8 kB / 1.122 GB, free: 2.707 MB / 0.8731 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.001041/0.9944, allocations: 0.9017 MB / 1.123 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.9949, allocations: 257 kB / 1.123 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9949, allocations: 0 / 1.123 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.9951, allocations: 67.89 kB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/0.996, allocations: 147 kB / 1.124 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.9984, allocations: 1.638 MB / 1.125 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.9988, allocations: 0.7758 MB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003348/0.9991, allocations: 91.59 kB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.9993, allocations: 91.41 kB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of SimCode: time 1.823e-06/0.9993, allocations: 0 / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/1.02, allocations: 7.508 MB / 1.133 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.02, allocations: 215.8 kB / 1.134 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.027, allocations: 0 / 1.134 GB, free: 7.004 MB / 0.8887 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