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.001365/0.001365, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001529/0.001529, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.9487/0.9487, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 1.98/1.98, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.022e-06/1.022e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.167e-05, allocations: 6.312 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002375/0.002387, allocations: 2.195 MB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006901/0.003077, allocations: 0.5214 MB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.003149, allocations: 4 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.003792, allocations: 425.8 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.003947, allocations: 103.4 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.004109, allocations: 108.8 kB / 0.7784 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004298, allocations: 207.3 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.004745, allocations: 136.6 kB / 0.7788 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.004846, allocations: 115.8 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.005021, allocations: 87.75 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.00504, allocations: 12 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.005149, allocations: 84.55 kB / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.005201, allocations: 63.81 kB / 0.7791 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.005242, allocations: 44.42 kB / 0.7791 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005421, allocations: 167.4 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005422, allocations: 0.75 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005423, allocations: 0 / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.005425, allocations: 2.688 kB / 0.7793 GB, free: 1.172 MB / 0.7292 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.0003214/0.005747, allocations: 344.5 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.005775, allocations: 9.344 kB / 0.7796 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.006083, allocations: 68.8 kB / 0.7797 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.006235, allocations: 152.4 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.006245, allocations: 4.656 kB / 0.7799 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.006264, allocations: 12.38 kB / 0.7799 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.006431, allocations: 181.6 kB / 0.7801 GB, free: 352 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.00644, allocations: 4.125 kB / 0.7801 GB, free: 348 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.006453, allocations: 12.36 kB / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.006477, allocations: 16.2 kB / 0.7801 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.006534, allocations: 43.11 kB / 0.7801 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.007039, allocations: 0.708 MB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.216e-05/0.007081, allocations: 26.56 kB / 0.7808 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.007102, allocations: 13.98 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.007112, allocations: 0 / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.00713, allocations: 34.56 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.007132, allocations: 4.797 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 9.249e-05/0.007224, allocations: 45.72 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.007245, allocations: 55.84 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.007315, allocations: 154.5 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.007323, allocations: 25.7 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.007373, allocations: 152.1 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-06/0.007381, allocations: 11.89 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.007415, allocations: 38.31 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.007478, allocations: 319.5 kB / 0.7817 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.007494, allocations: 16.84 kB / 0.7817 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.007535, allocations: 81.69 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.007605, allocations: 107 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007608, allocations: 4 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.877e-05/0.007697, allocations: 96.47 kB / 0.7819 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.007707, allocations: 8 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007712, allocations: 4 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007722, allocations: 0 / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.007787, allocations: 32.45 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.00779, allocations: 1.062 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.007827, allocations: 19.89 kB / 0.782 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.007834, allocations: 7.938 kB / 0.782 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.788e-05/0.007872, allocations: 99.48 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.645e-05/0.007909, allocations: 78.34 kB / 0.7822 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.135e-05/0.00797, allocations: 105.5 kB / 0.7823 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.007971, allocations: 0 / 0.7823 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 8.036e-05/0.008051, allocations: 98.5 kB / 0.7824 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/0.008056, allocations: 9.031 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.008057, allocations: 0 / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-06/0.00806, allocations: 5.469 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.008103, allocations: 23.98 kB / 0.7824 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.008106, allocations: 7.938 kB / 0.7824 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.008136, allocations: 11.88 kB / 0.7824 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.008141, allocations: 13.38 kB / 0.7825 GB, free: 13.64 MB / 0.7448 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 5.991e-05/0.008201, allocations: 188.2 kB / 0.7826 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.008218, allocations: 8 kB / 0.7826 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.008237, allocations: 13.62 kB / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008239, allocations: 0 / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.00824, allocations: 0 / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008244, allocations: 9.172 kB / 0.7827 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.008443, allocations: 424.5 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008445, allocations: 4.875 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.008459, allocations: 4 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.00846, allocations: 0.7812 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-06/0.008464, allocations: 4 kB / 0.7831 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008464, allocations: 1.031 kB / 0.7831 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.008466, allocations: 7.875 kB / 0.7831 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.704e-05/0.008523, allocations: 101.4 kB / 0.7832 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.00854, allocations: 15.92 kB / 0.7832 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.00855, allocations: 3.984 kB / 0.7832 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.008565, allocations: 5.094 kB / 0.7832 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.008575, allocations: 3.938 kB / 0.7832 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.008578, allocations: 7.938 kB / 0.7832 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.024e-05/0.008598, allocations: 31.58 kB / 0.7832 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008598, allocations: 0 / 0.7832 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001659/0.008764, allocations: 55.84 kB / 0.7833 GB, free: 12.7 MB / 0.7448 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 5.552e-05/0.00882, allocations: 76.42 kB / 0.7834 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.008919, allocations: 91.98 kB / 0.7835 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.008922, allocations: 0.5312 kB / 0.7835 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.008936, allocations: 21.97 kB / 0.7835 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.009054, allocations: 20.53 kB / 0.7835 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.009457, allocations: 281.5 kB / 0.7838 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.009494, allocations: 75.83 kB / 0.7838 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.009533, allocations: 15.73 kB / 0.7839 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.00958, allocations: 59.36 kB / 0.7839 GB, free: 12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.00958, allocations: 3.938 kB / 0.7839 GB, free: 12 MB / 0.7448 GB Notification: Performance of Templates: time 0.00235/0.01193, allocations: 0.8794 MB / 0.7848 GB, free: 11.16 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.809321356937289]