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.001956/0.001956, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.00205/0.00205, allocations: 173.2 kB / 23.23 MB, free: 1.328 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 1.657/1.657, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.264/3.264, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 1.873e-06/1.873e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.808e-05/3.995e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005001/0.005041, allocations: 2.504 MB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.007052, allocations: 0.7439 MB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.007167, allocations: 11.88 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.008667, allocations: 0.5375 MB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.00898, allocations: 115.3 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.009286, allocations: 107.7 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.009604, allocations: 203.4 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.009992, allocations: 138.1 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.01018, allocations: 123.7 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.01046, allocations: 83.8 kB / 1.006 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.01049, allocations: 16 kB / 1.006 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.0107, allocations: 99.7 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.0108, allocations: 63.81 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.0109, allocations: 51.91 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.01129, allocations: 227.2 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01129, allocations: 0 / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.91e-06/0.0113, allocations: 3.984 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.0113, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 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.0007308/0.01203, allocations: 373.9 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.01208, allocations: 9.344 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/0.01245, allocations: 52.8 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.01272, allocations: 149.6 kB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.01274, allocations: 12.66 kB / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.01277, allocations: 12.38 kB / 1.007 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.01322, allocations: 257.2 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01323, allocations: 192 / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.01326, allocations: 12.31 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.01329, allocations: 16.22 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.01356, allocations: 148.6 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01468, allocations: 0.7859 MB / 1.008 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.0148, allocations: 38.56 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.01484, allocations: 16.94 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.01485, allocations: 0 / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.01489, allocations: 34.56 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.01489, allocations: 0 / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002645/0.01516, allocations: 77.56 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.01522, allocations: 51.41 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.01541, allocations: 151.8 kB / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.01543, allocations: 25.7 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.01558, allocations: 151.5 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.0156, allocations: 23.77 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.01566, allocations: 33.67 kB / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.01587, allocations: 322.8 kB / 1.009 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.01593, allocations: 24.84 kB / 1.009 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.01606, allocations: 91.81 kB / 1.009 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01627, allocations: 121.2 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01627, allocations: 4 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002537/0.01652, allocations: 141.8 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.01654, allocations: 4 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.01655, allocations: 4 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.01657, allocations: 4 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.01672, allocations: 23.98 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.01674, allocations: 7.938 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.0168, allocations: 11.91 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01682, allocations: 7.938 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001454/0.01697, allocations: 124.1 kB / 1.009 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001359/0.0171, allocations: 93.55 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000173/0.01727, allocations: 121.3 kB / 1.009 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.01728, allocations: 4 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002156/0.01749, allocations: 129.4 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.0175, allocations: 8 kB / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.01751, allocations: 0 / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.01751, allocations: 4 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01762, allocations: 27.92 kB / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01762, allocations: 4.312 kB / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.01768, allocations: 19.89 kB / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01769, allocations: 8 kB / 1.01 GB, free: 3.973 MB / 0.9636 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.0001492/0.01784, allocations: 194.8 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.01787, allocations: 3.953 kB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.0179, allocations: 12.34 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.01791, allocations: 3.984 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.01792, allocations: 4 kB / 1.01 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01793, allocations: 0 / 1.01 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.01843, allocations: 416.8 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01843, allocations: 0 / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.01846, allocations: 7.938 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.01847, allocations: 4 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.01849, allocations: 7.984 kB / 1.01 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01849, allocations: 3.938 kB / 1.01 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01849, allocations: 4 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01864, allocations: 103.6 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.01868, allocations: 15.94 kB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.0187, allocations: 7.938 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.01873, allocations: 7.969 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.01875, allocations: 0 / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-06/0.01875, allocations: 4 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.715e-05/0.01885, allocations: 107.2 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01885, allocations: 0 / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003434/0.01919, allocations: 55.84 kB / 1.01 GB, free: 2.941 MB / 0.9636 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.0001315/0.01932, allocations: 95.25 kB / 1.011 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01957, allocations: 112.3 kB / 1.011 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01958, allocations: 0 / 1.011 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.01991, allocations: 19.88 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.02018, allocations: 22.73 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.02075, allocations: 273.4 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.02088, allocations: 114.2 kB / 1.011 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.488e-05/0.02096, allocations: 24.75 kB / 1.011 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.021, allocations: 12.5 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of SimCode: time 4.5e-07/0.021, allocations: 4 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of Templates: time 0.004379/0.02538, allocations: 0.7707 MB / 1.012 GB, free: 1.465 MB / 0.9636 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: 9.478112168610096]