Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.00243/0.00243, allocations: 104.3 kB / 19.72 MB, free: 416 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.001936/0.001936, allocations: 213.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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 1.65/1.65, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.364/3.364, allocations: 0.5045 GB / 0.8104 GB, free: 2.816 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003699/0.003699, allocations: 64.55 kB / 1.177 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4302, allocations: 180 MB / 1.353 GB, free: 8.707 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004991/0.4352, allocations: 2.513 MB / 1.355 GB, free: 6.18 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.4368, allocations: 0.7558 MB / 1.356 GB, free: 5.422 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.4369, allocations: 7.938 kB / 1.356 GB, free: 5.414 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.4384, allocations: 0.5381 MB / 1.357 GB, free: 4.871 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.4387, allocations: 115.5 kB / 1.357 GB, free: 4.758 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.439, allocations: 117 kB / 1.357 GB, free: 4.645 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.4393, allocations: 191.4 kB / 1.357 GB, free: 4.457 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.4397, allocations: 144.5 kB / 1.357 GB, free: 4.312 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4398, allocations: 75.77 kB / 1.357 GB, free: 4.238 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4401, allocations: 103.6 kB / 1.357 GB, free: 4.137 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.4401, allocations: 12 kB / 1.357 GB, free: 4.125 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.4403, allocations: 107.7 kB / 1.357 GB, free: 4.02 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.4404, allocations: 59.83 kB / 1.357 GB, free: 3.961 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.4405, allocations: 59.73 kB / 1.358 GB, free: 3.902 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.4409, allocations: 227.1 kB / 1.358 GB, free: 3.68 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4409, allocations: 0 / 1.358 GB, free: 3.68 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4409, allocations: 0 / 1.358 GB, free: 3.68 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.4409, allocations: 0 / 1.358 GB, free: 3.68 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007284/0.4417, allocations: 373.9 kB / 1.358 GB, free: 3.281 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4417, allocations: 8.922 kB / 1.358 GB, free: 3.273 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.4421, allocations: 48.8 kB / 1.358 GB, free: 3.227 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.4424, allocations: 158.3 kB / 1.358 GB, free: 3.047 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4424, allocations: 8.656 kB / 1.358 GB, free: 3.039 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.4424, allocations: 16.36 kB / 1.358 GB, free: 3.023 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.4429, allocations: 264.7 kB / 1.359 GB, free: 2.738 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4429, allocations: 0 / 1.359 GB, free: 2.738 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.4429, allocations: 11.98 kB / 1.359 GB, free: 2.727 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.443, allocations: 12.28 kB / 1.359 GB, free: 2.715 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.4432, allocations: 148.7 kB / 1.359 GB, free: 2.57 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.4443, allocations: 0.7818 MB / 1.36 GB, free: 1.734 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.4444, allocations: 42.5 kB / 1.36 GB, free: 1.684 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.4445, allocations: 20.94 kB / 1.36 GB, free: 1.66 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4445, allocations: 0 / 1.36 GB, free: 1.66 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4445, allocations: 38.5 kB / 1.36 GB, free: 1.613 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.4445, allocations: 0 / 1.36 GB, free: 1.613 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002373/0.4447, allocations: 69.64 kB / 1.36 GB, free: 1.539 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.4448, allocations: 59.28 kB / 1.36 GB, free: 1.469 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4449, allocations: 151.3 kB / 1.36 GB, free: 1.312 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.445, allocations: 29.7 kB / 1.36 GB, free: 1.277 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4451, allocations: 151.5 kB / 1.36 GB, free: 1.125 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4451, allocations: 19.84 kB / 1.36 GB, free: 1.105 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.4452, allocations: 33.7 kB / 1.36 GB, free: 1.066 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4453, allocations: 322.8 kB / 1.36 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.4454, allocations: 24.84 kB / 1.36 GB, free: 0.7148 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4455, allocations: 89.44 kB / 1.361 GB, free: 0.5938 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4457, allocations: 125.4 kB / 1.361 GB, free: 448 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4457, allocations: 4 kB / 1.361 GB, free: 444 kB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002185/0.4459, allocations: 137.6 kB / 1.361 GB, free: 300 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4459, allocations: 4 kB / 1.361 GB, free: 296 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.446, allocations: 7.938 kB / 1.361 GB, free: 288 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.446, allocations: 4 kB / 1.361 GB, free: 284 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4461, allocations: 31.92 kB / 1.361 GB, free: 252 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4461, allocations: 7.922 kB / 1.361 GB, free: 244 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.4462, allocations: 11.95 kB / 1.361 GB, free: 232 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4462, allocations: 4 kB / 1.361 GB, free: 228 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001197/0.4463, allocations: 124.1 kB / 1.361 GB, free: 100 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000123/0.4464, allocations: 95.48 kB / 1.361 GB, free: 15.97 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001681/0.4466, allocations: 121.4 kB / 1.361 GB, free: 15.82 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.4466, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.057 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002019/0.4468, allocations: 137.4 kB / 1.361 GB, free: 15.68 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.4468, allocations: 8 kB / 1.361 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.4468, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.4468, allocations: 4 kB / 1.361 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.4469, allocations: 27.92 kB / 1.361 GB, free: 15.64 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4469, allocations: 7.938 kB / 1.361 GB, free: 15.63 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.447, allocations: 20.14 kB / 1.361 GB, free: 15.61 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.447, allocations: 12 kB / 1.361 GB, free: 15.6 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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.0001274/0.4471, allocations: 180.3 kB / 1.362 GB, free: 15.42 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.4471, allocations: 7.953 kB / 1.362 GB, free: 15.41 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.4472, allocations: 12.34 kB / 1.362 GB, free: 15.39 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4472, allocations: 7.922 kB / 1.362 GB, free: 15.39 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4472, allocations: 3.938 kB / 1.362 GB, free: 15.38 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4472, allocations: 0 / 1.362 GB, free: 15.38 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.4476, allocations: 404.8 kB / 1.362 GB, free: 14.94 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4476, allocations: 4.125 kB / 1.362 GB, free: 14.93 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.4477, allocations: 7.938 kB / 1.362 GB, free: 14.93 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4477, allocations: 4 kB / 1.362 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4477, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4477, allocations: 11.92 kB / 1.362 GB, free: 14.91 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4477, allocations: 4 kB / 1.362 GB, free: 14.91 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.448, allocations: 107.7 kB / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.448, allocations: 11.89 kB / 1.362 GB, free: 14.76 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.448, allocations: 7.984 kB / 1.362 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.4481, allocations: 0 / 1.362 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.4481, allocations: 7.938 kB / 1.362 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4481, allocations: 8 kB / 1.362 GB, free: 14.74 MB / 1.057 GB Notification: Performance of sorting global known variables: time 9.011e-05/0.4482, allocations: 109.3 kB / 1.362 GB, free: 14.63 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.4482, allocations: 0 / 1.362 GB, free: 14.63 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003475/0.4485, allocations: 55.84 kB / 1.362 GB, free: 14.58 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001221/0.4487, allocations: 99.23 kB / 1.362 GB, free: 14.47 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4489, allocations: 112.9 kB / 1.363 GB, free: 14.36 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4489, allocations: 3.938 kB / 1.363 GB, free: 14.36 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/0.4489, allocations: 8 kB / 1.363 GB, free: 14.35 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4492, allocations: 31.86 kB / 1.363 GB, free: 14.32 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.4497, allocations: 271.2 kB / 1.363 GB, free: 14.02 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4499, allocations: 114.8 kB / 1.363 GB, free: 13.89 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 8.633e-05/0.45, allocations: 24.55 kB / 1.363 GB, free: 13.87 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.45, allocations: 11.44 kB / 1.363 GB, free: 13.86 MB / 1.057 GB Notification: Performance of SimCode: time 4.51e-07/0.45, allocations: 3.938 kB / 1.363 GB, free: 13.85 MB / 1.057 GB Notification: Performance of Templates: time 0.003988/0.454, allocations: 0.8883 MB / 1.364 GB, free: 12.98 MB / 1.057 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.403804666362703]