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.001385/0.001385, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001574/0.001574, allocations: 165 kB / 24.25 MB, free: 208 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.9989/0.9989, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.94/1.94, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.704e-06/1.704e-06, allocations: 0.875 kB / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.42e-05, allocations: 5.125 kB / 0.7753 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003354/0.003368, allocations: 2.191 MB / 0.7775 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.004362, allocations: 0.5174 MB / 0.778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004475, allocations: 4 kB / 0.778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008507/0.005326, allocations: 430.9 kB / 0.7784 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.005584, allocations: 101.5 kB / 0.7785 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.005861, allocations: 108.4 kB / 0.7786 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.006139, allocations: 207.3 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.006363, allocations: 132.5 kB / 0.7789 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.006524, allocations: 115.8 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.00675, allocations: 83.75 kB / 0.7791 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.006778, allocations: 16 kB / 0.7791 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.00695, allocations: 86.47 kB / 0.7792 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.007019, allocations: 59.83 kB / 0.7793 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.00708, allocations: 55.89 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.007294, allocations: 159.4 kB / 0.7795 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007296, allocations: 0 / 0.7795 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.007297, allocations: 0 / 0.7795 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.0073, allocations: 0 / 0.7795 GB, free: 1.109 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.0003931/0.007693, allocations: 340 kB / 0.7798 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.00773, allocations: 9.344 kB / 0.7798 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.008095, allocations: 72.8 kB / 0.7799 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.008297, allocations: 153.5 kB / 0.78 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.008312, allocations: 8.656 kB / 0.78 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.008343, allocations: 20.36 kB / 0.78 GB, free: 484 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.008553, allocations: 183.2 kB / 0.7802 GB, free: 276 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.008562, allocations: 192 / 0.7802 GB, free: 276 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.008574, allocations: 16.3 kB / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.008607, allocations: 16.22 kB / 0.7803 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.978e-05/0.008697, allocations: 45.41 kB / 0.7803 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.009449, allocations: 0.7055 MB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.009505, allocations: 28 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.009523, allocations: 8.859 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.009534, allocations: 3.938 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.00956, allocations: 38.56 kB / 0.7811 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.009561, allocations: 0.5625 kB / 0.7811 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001146/0.009676, allocations: 47.11 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.009707, allocations: 55.41 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.009802, allocations: 141.7 kB / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.009815, allocations: 29.7 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.009886, allocations: 152.2 kB / 0.7815 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.009898, allocations: 11.91 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.009944, allocations: 38.77 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.01003, allocations: 326.8 kB / 0.7818 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.01006, allocations: 12.8 kB / 0.7818 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.01011, allocations: 74.5 kB / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.01022, allocations: 107.1 kB / 0.782 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01022, allocations: 0.6875 kB / 0.782 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.01036, allocations: 103.2 kB / 0.7821 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01037, allocations: 7.25 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01038, allocations: 4 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01039, allocations: 4 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.01049, allocations: 27.92 kB / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01049, allocations: 4 kB / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.01055, allocations: 15.89 kB / 0.7822 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.01056, allocations: 4 kB / 0.7822 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.888e-05/0.01062, allocations: 102.9 kB / 0.7823 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.383e-05/0.01069, allocations: 102.1 kB / 0.7824 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.423e-05/0.01077, allocations: 94.78 kB / 0.7825 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.01077, allocations: 4 kB / 0.7825 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001264/0.0109, allocations: 99.62 kB / 0.7826 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.01091, allocations: 8 kB / 0.7826 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.01091, allocations: 5.219 kB / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.01091, allocations: 288 / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.01099, allocations: 31.92 kB / 0.7826 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.01099, allocations: 1.031 kB / 0.7826 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.01104, allocations: 7.938 kB / 0.7826 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.01105, allocations: 9.312 kB / 0.7826 GB, free: 13.57 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 8.254e-05/0.01113, allocations: 192.1 kB / 0.7828 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.01116, allocations: 11.97 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.01119, allocations: 9.375 kB / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01119, allocations: 0 / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01119, allocations: 0 / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.0112, allocations: 5.375 kB / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.0115, allocations: 424.5 kB / 0.7832 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0115, allocations: 1.5 kB / 0.7832 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.01153, allocations: 7.938 kB / 0.7832 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01153, allocations: 4 kB / 0.7832 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.01154, allocations: 0 / 0.7832 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01154, allocations: 4.859 kB / 0.7833 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01154, allocations: 7.938 kB / 0.7833 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.01163, allocations: 97.11 kB / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.01165, allocations: 15.83 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.01166, allocations: 8.641 kB / 0.7834 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.522e-05/0.01169, allocations: 0 / 0.7834 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.0117, allocations: 5.219 kB / 0.7834 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.01171, allocations: 4 kB / 0.7834 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.01174, allocations: 28.83 kB / 0.7834 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01174, allocations: 2.438 kB / 0.7834 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003051/0.01205, allocations: 59.84 kB / 0.7835 GB, free: 12.62 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 8.566e-05/0.01213, allocations: 80.41 kB / 0.7835 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.01229, allocations: 88.34 kB / 0.7836 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.01229, allocations: 0 / 0.7836 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.01231, allocations: 17.39 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.01247, allocations: 23.25 kB / 0.7837 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.01301, allocations: 280.7 kB / 0.7839 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.01307, allocations: 75.83 kB / 0.784 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.179e-05/0.01313, allocations: 11.05 kB / 0.784 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.01319, allocations: 60 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01319, allocations: 3.938 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.003155/0.01635, allocations: 0.8763 MB / 0.7849 GB, free: 11.1 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 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.96891713142395]