Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9544/0.9544, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001806/0.001806, allocations: 242 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6998/0.6998, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.129e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.369/0.3691, allocations: 146.8 MB / 0.6984 GB, free: 10 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3712, allocations: 1.75 MB / 0.7002 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.3714, allocations: 19.81 kB / 0.7002 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.3719, allocations: 111.2 kB / 0.7003 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006535/0.3726, allocations: 385.8 kB / 0.7007 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.3733, allocations: 434.5 kB / 0.7011 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006149/0.3739, allocations: 0.7204 MB / 0.7018 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.3742, allocations: 207.7 kB / 0.702 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004165/0.3746, allocations: 406.8 kB / 0.7024 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3748, allocations: 199.3 kB / 0.7025 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3748, allocations: 16 kB / 0.7026 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.3753, allocations: 455 kB / 0.703 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.3754, allocations: 115.6 kB / 0.7031 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.3755, allocations: 107.8 kB / 0.7032 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3759, allocations: 474.3 kB / 0.7037 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3759, allocations: 0 / 0.7037 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3759, allocations: 0 / 0.7037 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3759, allocations: 0 / 0.7037 GB, free: 4.66 MB / 0.5105 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.000604/0.3765, allocations: 0.6685 MB / 0.7043 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3766, allocations: 8.75 kB / 0.7043 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.3769, allocations: 96.53 kB / 0.7044 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3772, allocations: 264.5 kB / 0.7047 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3772, allocations: 24.81 kB / 0.7047 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3772, allocations: 27.94 kB / 0.7047 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.3775, allocations: 281.3 kB / 0.705 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3775, allocations: 0 / 0.705 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3775, allocations: 12 kB / 0.705 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3775, allocations: 4 kB / 0.705 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3776, allocations: 80.39 kB / 0.7051 GB, free: 3.098 MB / 0.5105 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.0008305/0.3785, allocations: 1.948 MB / 0.707 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3786, allocations: 59.08 kB / 0.707 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.3786, allocations: 31.72 kB / 0.7071 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.3787, allocations: 15.98 kB / 0.7071 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3787, allocations: 41.39 kB / 0.7071 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3787, allocations: 0 / 0.7071 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002757/0.379, allocations: 141.3 kB / 0.7073 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.379, allocations: 51.41 kB / 0.7073 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3792, allocations: 318.2 kB / 0.7076 GB, free: 364 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3792, allocations: 25.7 kB / 0.7076 GB, free: 332 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.3793, allocations: 254.8 kB / 0.7079 GB, free: 72 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3793, allocations: 35.69 kB / 0.7079 GB, free: 36 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.3794, allocations: 55.36 kB / 0.708 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3795, allocations: 0.5079 MB / 0.7085 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.3796, allocations: 29.5 kB / 0.7085 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3797, allocations: 392 kB / 0.7089 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3799, allocations: 211.3 kB / 0.7091 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3799, allocations: 8 kB / 0.7091 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002195/0.3801, allocations: 181.1 kB / 0.7092 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3801, allocations: 8 kB / 0.7092 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3801, allocations: 0 / 0.7092 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3801, allocations: 16.33 kB / 0.7093 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3803, allocations: 44.42 kB / 0.7093 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3803, allocations: 4 kB / 0.7093 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.3804, allocations: 31.81 kB / 0.7093 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3804, allocations: 12 kB / 0.7094 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.328e-05/0.3805, allocations: 154.1 kB / 0.7095 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001527/0.3806, allocations: 382.5 kB / 0.7099 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001364/0.3808, allocations: 210.9 kB / 0.7101 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.3808, allocations: 0 / 0.7101 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001979/0.381, allocations: 193.1 kB / 0.7102 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.381, allocations: 8 kB / 0.7103 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.381, allocations: 4 kB / 0.7103 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-06/0.381, allocations: 4 kB / 0.7103 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.3811, allocations: 43.92 kB / 0.7103 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3811, allocations: 11.92 kB / 0.7103 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.3812, allocations: 28.3 kB / 0.7103 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3812, allocations: 8 kB / 0.7104 GB, free: 13.11 MB / 0.5261 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 9.632e-05/0.3813, allocations: 288 kB / 0.7106 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3813, allocations: 23.86 kB / 0.7106 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.3814, allocations: 116.7 kB / 0.7108 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3814, allocations: 0 / 0.7108 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3814, allocations: 0 / 0.7108 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3815, allocations: 0 / 0.7108 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.3821, allocations: 0.53 MB / 0.7113 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3821, allocations: 4 kB / 0.7113 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3821, allocations: 19.98 kB / 0.7113 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3821, allocations: 4 kB / 0.7113 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3821, allocations: 4 kB / 0.7113 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3821, allocations: 4 kB / 0.7113 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3821, allocations: 11.88 kB / 0.7113 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3823, allocations: 301.8 kB / 0.7116 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.3823, allocations: 39.73 kB / 0.7116 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3824, allocations: 4 kB / 0.7117 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3824, allocations: 11.94 kB / 0.7117 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3825, allocations: 12.11 kB / 0.7117 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.3825, allocations: 11.69 kB / 0.7117 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000114/0.3826, allocations: 211 kB / 0.7119 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3826, allocations: 0 / 0.7119 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003888/0.383, allocations: 151.6 kB / 0.712 GB, free: 11.26 MB / 0.5261 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.0002066/0.3832, allocations: 147.1 kB / 0.7122 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3834, allocations: 164.6 kB / 0.7123 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3834, allocations: 448 / 0.7123 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.3835, allocations: 44.31 kB / 0.7124 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3839, allocations: 93.09 kB / 0.7125 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.3848, allocations: 0.5045 MB / 0.713 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.3848, allocations: 96.61 kB / 0.713 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.385, allocations: 74.2 kB / 0.7131 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.385, allocations: 24.5 kB / 0.7131 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/0.385, allocations: 0 / 0.7131 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.00646/0.3915, allocations: 4.056 MB / 0.7171 GB, free: 6.129 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.262198936194181]