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: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001125/0.001125, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001145/0.001146, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.491/1.491, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.69/1.69, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001391/0.001391, allocations: 66.5 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2266, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6472/0.8739, allocations: 167.2 MB / 0.9468 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007911/0.8819, allocations: 7.257 MB / 0.9539 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008597/0.8828, allocations: 13.41 kB / 0.9539 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.8836, allocations: 177.2 kB / 0.954 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.8856, allocations: 0.5442 MB / 0.9546 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.8871, allocations: 393.2 kB / 0.9549 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.8884, allocations: 0.708 MB / 0.9556 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.8889, allocations: 252.3 kB / 0.9559 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009633/0.8899, allocations: 381.3 kB / 0.9562 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.8903, allocations: 230 kB / 0.9565 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.8903, allocations: 19.22 kB / 0.9565 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.8921, allocations: 0.7202 MB / 0.9572 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.8922, allocations: 106.9 kB / 0.9573 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.8924, allocations: 152.4 kB / 0.9574 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.8932, allocations: 420.1 kB / 0.9578 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8932, allocations: 3.25 kB / 0.9578 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8932, allocations: 0.875 kB / 0.9578 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.8932, allocations: 4 kB / 0.9578 GB, free: 5.582 MB / 0.7325 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.00124/0.8945, allocations: 0.6366 MB / 0.9585 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8945, allocations: 11.38 kB / 0.9585 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.895, allocations: 66.67 kB / 0.9585 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.8954, allocations: 309.3 kB / 0.9588 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.8954, allocations: 17.41 kB / 0.9588 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.8955, allocations: 30.77 kB / 0.9589 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.8961, allocations: 301.2 kB / 0.9592 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.8961, allocations: 2.969 kB / 0.9592 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.8961, allocations: 13.94 kB / 0.9592 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.8961, allocations: 7.078 kB / 0.9592 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.8966, allocations: 173 kB / 0.9593 GB, free: 20.71 MB / 0.7481 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.001926/0.8985, allocations: 1.69 MB / 0.961 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.8988, allocations: 91.95 kB / 0.9611 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.899, allocations: 77.22 kB / 0.9612 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.8994, allocations: 188.4 kB / 0.9613 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.8994, allocations: 42.34 kB / 0.9614 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.8994, allocations: 0 / 0.9614 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0008241/0.9003, allocations: 223.8 kB / 0.9616 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.9003, allocations: 53.27 kB / 0.9616 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.9008, allocations: 321.8 kB / 0.962 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.9008, allocations: 34.67 kB / 0.962 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.9009, allocations: 201.1 kB / 0.9622 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.901, allocations: 36.75 kB / 0.9622 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.9011, allocations: 53.34 kB / 0.9623 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9012, allocations: 339.8 kB / 0.9626 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.9014, allocations: 62.08 kB / 0.9626 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.9016, allocations: 191.8 kB / 0.9628 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.9019, allocations: 237 kB / 0.9631 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.902, allocations: 8.344 kB / 0.9631 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004606/0.9024, allocations: 252.2 kB / 0.9633 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9025, allocations: 6.469 kB / 0.9633 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.9025, allocations: 7.469 kB / 0.9633 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9025, allocations: 6.906 kB / 0.9633 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.9027, allocations: 47.44 kB / 0.9634 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9027, allocations: 8.281 kB / 0.9634 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.903, allocations: 42.69 kB / 0.9634 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.9031, allocations: 11.06 kB / 0.9634 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000233/0.9033, allocations: 168.6 kB / 0.9636 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002166/0.9035, allocations: 196.4 kB / 0.9638 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003111/0.9039, allocations: 225.6 kB / 0.964 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.9039, allocations: 1.156 kB / 0.964 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004505/0.9043, allocations: 254 kB / 0.9642 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9043, allocations: 15.66 kB / 0.9642 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9044, allocations: 4.875 kB / 0.9643 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.9044, allocations: 7.531 kB / 0.9643 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.9045, allocations: 47.77 kB / 0.9643 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.9046, allocations: 4.781 kB / 0.9643 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.9048, allocations: 31.05 kB / 0.9643 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.9048, allocations: 13.62 kB / 0.9644 GB, free: 17.59 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.905, allocations: 199.6 kB / 0.9645 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.905, allocations: 32.75 kB / 0.9646 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.9054, allocations: 165 kB / 0.9647 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9054, allocations: 1.25 kB / 0.9647 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.9054, allocations: 1.062 kB / 0.9647 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9055, allocations: 0 / 0.9647 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/0.9064, allocations: 0.6164 MB / 0.9653 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9064, allocations: 5.438 kB / 0.9653 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.9065, allocations: 28.27 kB / 0.9654 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.9065, allocations: 2.5 kB / 0.9654 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.9065, allocations: 3.5 kB / 0.9654 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.9065, allocations: 2.375 kB / 0.9654 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9065, allocations: 2.156 kB / 0.9654 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.9069, allocations: 301.8 kB / 0.9657 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.907, allocations: 114.8 kB / 0.9658 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.9071, allocations: 7.906 kB / 0.9658 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.9073, allocations: 16.86 kB / 0.9658 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.9074, allocations: 19.08 kB / 0.9658 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.9074, allocations: 7.578 kB / 0.9658 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002318/0.9076, allocations: 222.7 kB / 0.966 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9076, allocations: 0 / 0.966 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006247/0.9083, allocations: 135.8 kB / 0.9662 GB, free: 16.56 MB / 0.7481 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 (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.0004305/0.9087, allocations: 174.3 kB / 0.9663 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.9093, allocations: 253.5 kB / 0.9666 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9093, allocations: 1.531 kB / 0.9666 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.9095, allocations: 62.95 kB / 0.9666 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.9103, allocations: 122.1 kB / 0.9668 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.9111, allocations: 0.6341 MB / 0.9674 GB, free: 16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.9115, allocations: 0.7734 MB / 0.9681 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.9116, allocations: 25.97 kB / 0.9682 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of SimCode: time 1.553e-06/0.9116, allocations: 0 / 0.9682 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.008091/0.9197, allocations: 4.454 MB / 0.9725 GB, free: 14.89 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)