Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.567/0.567, allocations: 95.48 MB / 365.2 MB, free: 9.895 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.91 kB / 445.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.348, allocations: 69.08 MB / 0.5024 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5642/0.9123, allocations: 187.7 MB / 0.6857 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009785/0.9221, allocations: 8.822 MB / 0.6943 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.9233, allocations: 11.62 kB / 0.6943 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.9244, allocations: 287.2 kB / 0.6946 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.9259, allocations: 0.5091 MB / 0.6951 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.9296, allocations: 1.257 MB / 0.6963 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.9314, allocations: 1.119 MB / 0.6974 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.932, allocations: 380.4 kB / 0.6978 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.9329, allocations: 483.5 kB / 0.6982 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.9335, allocations: 359.3 kB / 0.6986 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/0.9335, allocations: 43.03 kB / 0.6986 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.9367, allocations: 1.277 MB / 0.6999 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.937, allocations: 193.9 kB / 0.7 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.9375, allocations: 287.9 kB / 0.7003 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.9411, allocations: 1.368 MB / 0.7017 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9411, allocations: 0 / 0.7017 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9411, allocations: 0 / 0.7017 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.9411, allocations: 0 / 0.7017 GB, free: 7.258 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00208/0.9432, allocations: 0.952 MB / 0.7026 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9433, allocations: 13.33 kB / 0.7026 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.9436, allocations: 63.81 kB / 0.7027 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.9442, allocations: 399.4 kB / 0.703 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9442, allocations: 26.66 kB / 0.7031 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.9442, allocations: 38 kB / 0.7031 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.9451, allocations: 0.5034 MB / 0.7036 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.9452, allocations: 0 / 0.7036 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.9452, allocations: 23.31 kB / 0.7036 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.9452, allocations: 18.05 kB / 0.7036 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.9461, allocations: 436 kB / 0.704 GB, free: 5.871 MB / 0.4981 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.003201/0.9493, allocations: 2.436 MB / 0.7064 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.9497, allocations: 147.2 kB / 0.7066 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.9499, allocations: 73.62 kB / 0.7066 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.9502, allocations: 347.2 kB / 0.707 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.9503, allocations: 37.06 kB / 0.707 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/0.9503, allocations: 0 / 0.707 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007733/0.9511, allocations: 258.4 kB / 0.7072 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.9511, allocations: 58.59 kB / 0.7073 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.9518, allocations: 0.5407 MB / 0.7078 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.9518, allocations: 25.7 kB / 0.7079 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.9521, allocations: 291.8 kB / 0.7081 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.9521, allocations: 42.3 kB / 0.7082 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.9522, allocations: 84.03 kB / 0.7083 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9524, allocations: 352.9 kB / 0.7086 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.9527, allocations: 119 kB / 0.7087 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.953, allocations: 252 kB / 0.7089 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.9535, allocations: 345.1 kB / 0.7093 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9535, allocations: 3.938 kB / 0.7093 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000746/0.9543, allocations: 431.5 kB / 0.7097 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.9543, allocations: 8.125 kB / 0.7097 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9543, allocations: 8.625 kB / 0.7097 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.9544, allocations: 8.906 kB / 0.7097 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.9547, allocations: 78.64 kB / 0.7098 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.9547, allocations: 13.61 kB / 0.7098 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.9552, allocations: 66.83 kB / 0.7099 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.9552, allocations: 12.94 kB / 0.7099 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003457/0.9556, allocations: 248.6 kB / 0.7101 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002868/0.9559, allocations: 242.6 kB / 0.7103 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004685/0.9563, allocations: 349.5 kB / 0.7107 GB, free: 280 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.9564, allocations: 2.781 kB / 0.7107 GB, free: 280 kB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007233/0.9571, allocations: 425.1 kB / 0.7111 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.9571, allocations: 8.031 kB / 0.7111 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9571, allocations: 4.719 kB / 0.7111 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.9571, allocations: 9.312 kB / 0.7111 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.9575, allocations: 86.86 kB / 0.7112 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9575, allocations: 4.688 kB / 0.7112 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.9579, allocations: 37.02 kB / 0.7112 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.9579, allocations: 27.02 kB / 0.7113 GB, free: 15.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.9581, allocations: 199.5 kB / 0.7114 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.9582, allocations: 45.91 kB / 0.7115 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.9588, allocations: 225.4 kB / 0.7117 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9588, allocations: 1.938 kB / 0.7117 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9588, allocations: 0 / 0.7117 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9588, allocations: 4.078 kB / 0.7117 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.9593, allocations: 386.1 kB / 0.7121 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9593, allocations: 128 / 0.7121 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.9594, allocations: 30.95 kB / 0.7121 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.9594, allocations: 0 / 0.7121 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.9594, allocations: 11.94 kB / 0.7121 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9594, allocations: 6.656 kB / 0.7121 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9595, allocations: 0 / 0.7121 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.9599, allocations: 296.7 kB / 0.7124 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.9601, allocations: 149.7 kB / 0.7126 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.9602, allocations: 3.938 kB / 0.7126 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.9605, allocations: 19.48 kB / 0.7126 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.9606, allocations: 9.359 kB / 0.7126 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.9606, allocations: 14.83 kB / 0.7126 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004111/0.961, allocations: 387.3 kB / 0.713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.961, allocations: 0 / 0.713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001087/0.9621, allocations: 353.1 kB / 0.7133 GB, free: 14.58 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007232/0.9628, allocations: 313.5 kB / 0.7136 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008926/0.9637, allocations: 428.7 kB / 0.714 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9638, allocations: 2.875 kB / 0.714 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.9639, allocations: 69.92 kB / 0.7141 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.965, allocations: 239 kB / 0.7143 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.9662, allocations: 0.6987 MB / 0.715 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.9667, allocations: 0.8257 MB / 0.7158 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005625/0.9673, allocations: 122 kB / 0.7159 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.9674, allocations: 45.48 kB / 0.716 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.9674, allocations: 0 / 0.716 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.01861/0.986, allocations: 10.86 MB / 0.7266 GB, free: 2.379 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)