Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_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.00109/0.00109, allocations: 99 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.001161/0.001161, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005691, allocations: 15.56 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3125, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 1.029/1.341, allocations: 141.8 MB / 0.9257 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007372/1.349, allocations: 5.983 MB / 0.9315 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/1.349, allocations: 11.19 kB / 0.9316 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008699/1.35, allocations: 220.2 kB / 0.9318 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/1.352, allocations: 0.5198 MB / 0.9323 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/1.354, allocations: 438.6 kB / 0.9327 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009663/1.355, allocations: 434.4 kB / 0.9331 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/1.355, allocations: 200.1 kB / 0.9333 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005534/1.356, allocations: 255.1 kB / 0.9335 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/1.356, allocations: 134.6 kB / 0.9337 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/1.356, allocations: 12.56 kB / 0.9337 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/1.357, allocations: 385.5 kB / 0.934 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/1.357, allocations: 89.83 kB / 0.9341 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/1.357, allocations: 83.7 kB / 0.9342 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005468/1.358, allocations: 339.8 kB / 0.9345 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/1.358, allocations: 4 kB / 0.9345 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.316e-06/1.358, allocations: 0.6094 kB / 0.9345 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.358, allocations: 3.938 kB / 0.9345 GB, free: 5.082 MB / 0.7169 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.001175/1.359, allocations: 0.5737 MB / 0.9351 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.359, allocations: 9.609 kB / 0.9351 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/1.359, allocations: 58.02 kB / 0.9352 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004089/1.359, allocations: 70.77 kB / 0.9352 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/1.36, allocations: 297.4 kB / 0.9355 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/1.36, allocations: 17.81 kB / 0.9355 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/1.36, allocations: 25.75 kB / 0.9356 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/1.361, allocations: 303.9 kB / 0.9359 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.361, allocations: 2.906 kB / 0.9359 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.361, allocations: 9.188 kB / 0.9359 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.361, allocations: 3.906 kB / 0.9359 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/1.361, allocations: 188.4 kB / 0.936 GB, free: 20.2 MB / 0.7325 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.001946/1.363, allocations: 1.704 MB / 0.9377 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/1.363, allocations: 101.5 kB / 0.9378 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/1.363, allocations: 10.42 kB / 0.9378 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.363, allocations: 38.14 kB / 0.9379 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/1.363, allocations: 5.188 kB / 0.9379 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0008362/1.364, allocations: 235.9 kB / 0.9381 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.364, allocations: 56.98 kB / 0.9381 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/1.365, allocations: 319.3 kB / 0.9384 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/1.365, allocations: 30.73 kB / 0.9385 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/1.365, allocations: 193.9 kB / 0.9387 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/1.365, allocations: 43.53 kB / 0.9387 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/1.365, allocations: 4.781 kB / 0.9387 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.365, allocations: 339.5 kB / 0.939 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.365, allocations: 64.06 kB / 0.9391 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/1.366, allocations: 194.7 kB / 0.9393 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/1.366, allocations: 87.14 kB / 0.9394 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.366, allocations: 1.531 kB / 0.9394 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005346/1.366, allocations: 259 kB / 0.9396 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005589/1.367, allocations: 1.399 MB / 0.941 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.367, allocations: 4.547 kB / 0.941 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.367, allocations: 9.328 kB / 0.941 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/1.367, allocations: 48.27 kB / 0.941 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.367, allocations: 6.078 kB / 0.941 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/1.368, allocations: 46.58 kB / 0.9411 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/1.368, allocations: 17.45 kB / 0.9411 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.368, allocations: 3.688 kB / 0.9411 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004685/1.368, allocations: 205.5 kB / 0.9413 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.368, allocations: 3.844 kB / 0.9413 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/1.368, allocations: 9.25 kB / 0.9413 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/1.368, allocations: 54.62 kB / 0.9414 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/1.368, allocations: 15.11 kB / 0.9414 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/1.369, allocations: 31.12 kB / 0.9414 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/1.369, allocations: 14.64 kB / 0.9414 GB, free: 16.38 MB / 0.7325 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.0002485/1.369, allocations: 234 kB / 0.9416 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/1.369, allocations: 29.53 kB / 0.9417 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/1.37, allocations: 183.9 kB / 0.9418 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.37, allocations: 2.219 kB / 0.9418 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.37, allocations: 0 / 0.9418 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.37, allocations: 3.984 kB / 0.9419 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.371, allocations: 0.6215 MB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.371, allocations: 5.859 kB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/1.371, allocations: 29.53 kB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.371, allocations: 2.25 kB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/1.371, allocations: 7.219 kB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.371, allocations: 3.094 kB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.371, allocations: 5.953 kB / 0.9425 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/1.371, allocations: 391.5 kB / 0.9429 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.372, allocations: 115.2 kB / 0.943 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/1.372, allocations: 11.05 kB / 0.943 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.372, allocations: 15.72 kB / 0.943 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/1.372, allocations: 11.84 kB / 0.943 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/1.372, allocations: 8.531 kB / 0.943 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003158/1.372, allocations: 225.1 kB / 0.9433 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.372, allocations: 0 / 0.9433 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001007/1.373, allocations: 138.2 kB / 0.9434 GB, free: 15.22 MB / 0.7325 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.001522/1.375, allocations: 1.47 MB / 0.9448 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008606/1.376, allocations: 257.7 kB / 0.9451 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.376, allocations: 0.5625 kB / 0.9451 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/1.376, allocations: 67.34 kB / 0.9451 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/1.377, allocations: 146 kB / 0.9453 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/1.381, allocations: 3.883 MB / 0.9491 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/1.382, allocations: 0.7831 MB / 0.9498 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000394/1.382, allocations: 86.38 kB / 0.9499 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.382, allocations: 90.33 kB / 0.95 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/1.382, allocations: 1.75 kB / 0.95 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/1.404, allocations: 7.486 MB / 0.9573 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.404, allocations: 211.3 kB / 0.9575 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/3.359, allocations: 4 kB / 0.9575 GB, free: 9.32 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: