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.001183/0.001183, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001491/0.001491, allocations: 177.3 kB / 15.95 MB, free: 216 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.415/2.415, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 15.98 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7512, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1657/0.917, allocations: 141.8 MB / 1.092 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006981/0.924, allocations: 5.991 MB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.9244, allocations: 15.88 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.9252, allocations: 223 kB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.9266, allocations: 0.518 MB / 1.099 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.9278, allocations: 441.4 kB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.9285, allocations: 431.5 kB / 1.099 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.9288, allocations: 208.8 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.9293, allocations: 251.2 kB / 1.1 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.9295, allocations: 131.4 kB / 1.1 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.9295, allocations: 12 kB / 1.1 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.9303, allocations: 387.4 kB / 1.1 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.9304, allocations: 91.7 kB / 1.101 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.9305, allocations: 85.58 kB / 1.101 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.931, allocations: 335.1 kB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.931, allocations: 0 / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.931, allocations: 7.875 kB / 1.101 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.931, allocations: 0 / 1.101 GB, free: 8.938 MB / 0.8575 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.0008262/0.9318, allocations: 0.5687 MB / 1.101 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9319, allocations: 8.031 kB / 1.101 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.932, allocations: 62.53 kB / 1.102 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.9323, allocations: 67.48 kB / 1.102 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.9327, allocations: 298.3 kB / 1.102 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.9327, allocations: 20.44 kB / 1.102 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.9328, allocations: 27.94 kB / 1.102 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.9334, allocations: 300.6 kB / 1.102 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.9334, allocations: 0 / 1.102 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.9334, allocations: 8 kB / 1.102 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9334, allocations: 4 kB / 1.102 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.9338, allocations: 187.8 kB / 1.102 GB, free: 7.273 MB / 0.8575 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.001763/0.9356, allocations: 1.713 MB / 1.104 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.9359, allocations: 106.5 kB / 1.104 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.9359, allocations: 8 kB / 1.104 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.936, allocations: 38.56 kB / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.936, allocations: 0 / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006925/0.9367, allocations: 237.2 kB / 1.104 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.9367, allocations: 51.41 kB / 1.105 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.937, allocations: 324.7 kB / 1.105 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.9371, allocations: 25.7 kB / 1.105 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.9372, allocations: 203.7 kB / 1.105 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.9372, allocations: 39.45 kB / 1.105 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.9373, allocations: 0 / 1.105 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9374, allocations: 338.8 kB / 1.105 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.9375, allocations: 59.95 kB / 1.105 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.9378, allocations: 202.8 kB / 1.106 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.938, allocations: 91.91 kB / 1.106 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.938, allocations: 7.953 kB / 1.106 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004569/0.9385, allocations: 261.1 kB / 1.106 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005068/0.939, allocations: 1.396 MB / 1.107 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.939, allocations: 4 kB / 1.107 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.939, allocations: 4 kB / 1.107 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.9392, allocations: 51.91 kB / 1.107 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9392, allocations: 7.938 kB / 1.107 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.9395, allocations: 43.77 kB / 1.107 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.9395, allocations: 11.98 kB / 1.107 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.9395, allocations: 4 kB / 1.107 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000384/0.9399, allocations: 207.8 kB / 1.108 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.9399, allocations: 4 kB / 1.108 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.94, allocations: 4 kB / 1.108 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.9401, allocations: 56.31 kB / 1.108 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.9401, allocations: 4 kB / 1.108 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.9404, allocations: 35.78 kB / 1.108 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.9404, allocations: 19.98 kB / 1.108 GB, free: 1.402 MB / 0.8575 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.0001647/0.9406, allocations: 236.9 kB / 1.108 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.9406, allocations: 27.66 kB / 1.108 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.941, allocations: 188.3 kB / 1.108 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.941, allocations: 0 / 1.108 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.941, allocations: 0 / 1.108 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.941, allocations: 0 / 1.108 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.9419, allocations: 0.6172 MB / 1.109 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9419, allocations: 8 kB / 1.109 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.942, allocations: 27.97 kB / 1.109 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-06/0.942, allocations: 7.953 kB / 1.109 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.942, allocations: 4 kB / 1.109 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.9421, allocations: 3.938 kB / 1.109 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.9421, allocations: 4 kB / 1.109 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.9425, allocations: 401.7 kB / 1.109 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.9426, allocations: 116.8 kB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.9427, allocations: 4 kB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.9428, allocations: 19.92 kB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.9429, allocations: 11.98 kB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.9429, allocations: 8 kB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002192/0.9431, allocations: 223 kB / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9431, allocations: 0 / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005729/0.9437, allocations: 131.8 kB / 1.11 GB, free: 15.2 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.0011/0.9448, allocations: 1.462 MB / 1.111 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.9454, allocations: 265.5 kB / 1.111 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9454, allocations: 0 / 1.111 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.9456, allocations: 79.84 kB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.9464, allocations: 137.8 kB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.9494, allocations: 3.875 MB / 1.115 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.9497, allocations: 0.7836 MB / 1.116 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.95, allocations: 90.95 kB / 1.116 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.9501, allocations: 87.41 kB / 1.116 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of SimCode: time 8.12e-07/0.9501, allocations: 0 / 1.116 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.9715, allocations: 7.484 MB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.9719, allocations: 228.8 kB / 1.124 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.892, allocations: 3.938 kB / 1.124 GB, free: 0.6445 MB / 0.8731 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