Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Sensors.Examples.Pressure.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.396/4.396, allocations: 0.5623 GB / 0.5769 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002536/0.002535, allocations: 360.1 kB / 0.644 GB, free: 21.59 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.008/4.008, allocations: 410.7 MB / 1.112 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.00178, allocations: 187.4 kB / 1.225 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 11.91 kB / 1.348 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1467/0.2981, allocations: 152.8 MB / 1.61 GB, free: 67.64 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007633/0.3058, allocations: 6.522 MB / 1.616 GB, free: 61.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.3061, allocations: 7.938 kB / 1.616 GB, free: 61.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.3067, allocations: 190.8 kB / 1.617 GB, free: 60.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.3081, allocations: 0.5791 MB / 1.617 GB, free: 60.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3093, allocations: 434.5 kB / 1.617 GB, free: 59.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000813/0.3101, allocations: 0.8648 MB / 1.618 GB, free: 59.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.3105, allocations: 192.6 kB / 1.619 GB, free: 58.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.3109, allocations: 278.8 kB / 1.619 GB, free: 58.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3112, allocations: 203.1 kB / 1.619 GB, free: 58.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.3112, allocations: 12 kB / 1.619 GB, free: 58.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006787/0.3119, allocations: 363 kB / 1.619 GB, free: 58.01 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.312, allocations: 95.62 kB / 1.619 GB, free: 57.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.3121, allocations: 81.58 kB / 1.62 GB, free: 57.83 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.3126, allocations: 351.1 kB / 1.62 GB, free: 57.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.185e-06/0.3126, allocations: 4 kB / 1.62 GB, free: 57.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.595e-06/0.3126, allocations: 0 / 1.62 GB, free: 57.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.3126, allocations: 0 / 1.62 GB, free: 57.48 MB / 0.8073 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.0007171/0.3133, allocations: 0.5687 MB / 1.62 GB, free: 56.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3134, allocations: 20.41 kB / 1.62 GB, free: 56.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.3138, allocations: 59.59 kB / 1.62 GB, free: 56.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.3142, allocations: 302.3 kB / 1.621 GB, free: 56.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3142, allocations: 16.44 kB / 1.621 GB, free: 56.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.3143, allocations: 23.95 kB / 1.621 GB, free: 56.42 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.3148, allocations: 308.6 kB / 1.621 GB, free: 56.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3148, allocations: 3.938 kB / 1.621 GB, free: 56.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.3148, allocations: 11.94 kB / 1.621 GB, free: 56.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.162e-06/0.3149, allocations: 4 kB / 1.621 GB, free: 56.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.3153, allocations: 187.8 kB / 1.621 GB, free: 55.88 MB / 0.8073 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.00156/0.3169, allocations: 1.702 MB / 1.623 GB, free: 54.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3172, allocations: 94.5 kB / 1.623 GB, free: 53.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3174, allocations: 88.84 kB / 1.623 GB, free: 53.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.3176, allocations: 186.2 kB / 1.623 GB, free: 53.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3177, allocations: 42.52 kB / 1.623 GB, free: 53.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.235e-06/0.3177, allocations: 0 / 1.623 GB, free: 53.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007734/0.3184, allocations: 237.1 kB / 1.624 GB, free: 53.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.3185, allocations: 51.41 kB / 1.624 GB, free: 53.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.3188, allocations: 328.4 kB / 1.624 GB, free: 52.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3189, allocations: 29.7 kB / 1.624 GB, free: 52.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.319, allocations: 195.9 kB / 1.624 GB, free: 52.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.319, allocations: 43.38 kB / 1.624 GB, free: 52.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.3191, allocations: 7.938 kB / 1.624 GB, free: 52.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.3191, allocations: 338.8 kB / 1.625 GB, free: 52.35 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3193, allocations: 55.95 kB / 1.625 GB, free: 52.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.3196, allocations: 200.4 kB / 1.625 GB, free: 52.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3198, allocations: 91.89 kB / 1.625 GB, free: 51.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-06/0.3198, allocations: 0 / 1.625 GB, free: 51.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005577/0.3204, allocations: 264.9 kB / 1.625 GB, free: 51.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/0.3205, allocations: 198.4 kB / 1.625 GB, free: 51.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.122e-06/0.3205, allocations: 0 / 1.625 GB, free: 51.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3205, allocations: 8 kB / 1.625 GB, free: 51.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3208, allocations: 47.91 kB / 1.625 GB, free: 51.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3208, allocations: 8 kB / 1.625 GB, free: 51.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3211, allocations: 47.66 kB / 1.625 GB, free: 51.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.3212, allocations: 16 kB / 1.625 GB, free: 51.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.535e-06/0.3212, allocations: 4 kB / 1.625 GB, free: 51.31 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004646/0.3217, allocations: 203.5 kB / 1.626 GB, free: 51.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.928e-06/0.3217, allocations: 4 kB / 1.626 GB, free: 51.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-06/0.3217, allocations: 4 kB / 1.626 GB, free: 51.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3219, allocations: 60.27 kB / 1.626 GB, free: 51.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.3219, allocations: 11.94 kB / 1.626 GB, free: 51.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3222, allocations: 35.73 kB / 1.626 GB, free: 51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3223, allocations: 15.98 kB / 1.626 GB, free: 50.98 MB / 0.8073 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.0001541/0.3224, allocations: 233 kB / 1.626 GB, free: 50.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3225, allocations: 23.72 kB / 1.626 GB, free: 50.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.323, allocations: 184.2 kB / 1.626 GB, free: 50.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-06/0.323, allocations: 3.953 kB / 1.626 GB, free: 50.53 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-06/0.323, allocations: 0 / 1.626 GB, free: 50.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-06/0.323, allocations: 4 kB / 1.626 GB, free: 50.53 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009754/0.324, allocations: 0.621 MB / 1.627 GB, free: 49.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.066e-06/0.324, allocations: 4 kB / 1.627 GB, free: 49.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3242, allocations: 27.92 kB / 1.627 GB, free: 49.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.755e-06/0.3242, allocations: 4 kB / 1.627 GB, free: 49.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3242, allocations: 4 kB / 1.627 GB, free: 49.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.728e-06/0.3242, allocations: 4 kB / 1.627 GB, free: 49.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.054e-06/0.3242, allocations: 4 kB / 1.627 GB, free: 49.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3246, allocations: 313.2 kB / 1.627 GB, free: 49.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3248, allocations: 116.7 kB / 1.627 GB, free: 49.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.3248, allocations: 4 kB / 1.627 GB, free: 49.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3251, allocations: 19.98 kB / 1.627 GB, free: 49.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3252, allocations: 15.92 kB / 1.627 GB, free: 49.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3252, allocations: 8 kB / 1.627 GB, free: 49.26 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002303/0.3254, allocations: 223 kB / 1.628 GB, free: 49.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.62e-07/0.3254, allocations: 0 / 1.628 GB, free: 49.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000724/0.3262, allocations: 127.8 kB / 1.628 GB, free: 48.91 MB / 0.8073 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.0003753/0.3266, allocations: 169.7 kB / 1.628 GB, free: 48.74 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.3272, allocations: 252.7 kB / 1.628 GB, free: 48.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.158e-06/0.3272, allocations: 0 / 1.628 GB, free: 48.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.3274, allocations: 68.7 kB / 1.628 GB, free: 48.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3285, allocations: 145.4 kB / 1.628 GB, free: 48.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.3293, allocations: 0.587 MB / 1.629 GB, free: 47.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3295, allocations: 0.7797 MB / 1.63 GB, free: 46.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003941/0.33, allocations: 83.55 kB / 1.63 GB, free: 46.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.33, allocations: 27.42 kB / 1.63 GB, free: 46.75 MB / 0.8073 GB Notification: Performance of SimCode: time 1.531e-06/0.3301, allocations: 4 kB / 1.63 GB, free: 46.74 MB / 0.8073 GB Notification: Performance of Templates: time 0.01081/0.3409, allocations: 4.572 MB / 1.634 GB, free: 42.28 MB / 0.8073 GB