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.001254/0.001254, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.0008782/0.0008782, allocations: 165.5 kB / 24.97 MB, free: 8.656 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.958/0.958, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.921/1.921, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.623e-06/1.623e-06, allocations: 0.9844 kB / 0.7759 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.584e-05, allocations: 9.625 kB / 0.7759 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002927/0.002953, allocations: 2.197 MB / 0.7781 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000847/0.0038, allocations: 0.5112 MB / 0.7786 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.003905, allocations: 7.938 kB / 0.7786 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.004776, allocations: 435 kB / 0.779 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.004966, allocations: 96.64 kB / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.005173, allocations: 113.1 kB / 0.7792 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.005383, allocations: 204.3 kB / 0.7794 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.005589, allocations: 130.8 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.005707, allocations: 119.8 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.005914, allocations: 88.3 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.005937, allocations: 12.59 kB / 0.7797 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.006069, allocations: 80.44 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.006126, allocations: 63.83 kB / 0.7799 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.006173, allocations: 52.45 kB / 0.7799 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.006374, allocations: 159.4 kB / 0.7801 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.006377, allocations: 0.5938 kB / 0.7801 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.006378, allocations: 0.9375 kB / 0.7801 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.006385, allocations: 4 kB / 0.7801 GB, free: 1.199 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.0004415/0.006826, allocations: 341.6 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.006874, allocations: 9.344 kB / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.007234, allocations: 65.89 kB / 0.7805 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.007457, allocations: 154.1 kB / 0.7806 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.007473, allocations: 12.64 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.007494, allocations: 17.66 kB / 0.7807 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.007711, allocations: 177.6 kB / 0.7808 GB, free: 376 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007721, allocations: 4.125 kB / 0.7808 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007734, allocations: 9.625 kB / 0.7808 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.007764, allocations: 20.2 kB / 0.7809 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.00783, allocations: 41.27 kB / 0.7809 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.008436, allocations: 0.7025 MB / 0.7816 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.008486, allocations: 34.5 kB / 0.7816 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.008503, allocations: 12.94 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.008518, allocations: 0 / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.008539, allocations: 35.28 kB / 0.7817 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.00854, allocations: 0 / 0.7817 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000111/0.008651, allocations: 46.98 kB / 0.7817 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.008672, allocations: 51.41 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.008755, allocations: 153.8 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.008764, allocations: 29.7 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.008822, allocations: 153.1 kB / 0.7821 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.008835, allocations: 19.89 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.008868, allocations: 29.66 kB / 0.7821 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.008945, allocations: 322.8 kB / 0.7824 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.008965, allocations: 14.17 kB / 0.7825 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.009011, allocations: 80.19 kB / 0.7825 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.009094, allocations: 106.9 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009096, allocations: 0.5 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001/0.009196, allocations: 101.2 kB / 0.7827 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.00921, allocations: 4 kB / 0.7827 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.009216, allocations: 4 kB / 0.7827 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.009227, allocations: 4 kB / 0.7827 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.009308, allocations: 31.92 kB / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.009313, allocations: 7.125 kB / 0.7828 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.009351, allocations: 11.89 kB / 0.7828 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.009357, allocations: 4 kB / 0.7828 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.427e-05/0.009411, allocations: 106.9 kB / 0.7829 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.551e-05/0.009467, allocations: 81.31 kB / 0.783 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.829e-05/0.009535, allocations: 100.3 kB / 0.7831 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.009537, allocations: 4 kB / 0.7831 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 9.203e-05/0.009629, allocations: 95.91 kB / 0.7832 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.009641, allocations: 8 kB / 0.7832 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.009643, allocations: 4 kB / 0.7832 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-06/0.009647, allocations: 1.094 kB / 0.7832 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.009706, allocations: 31.92 kB / 0.7832 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.009709, allocations: 1.219 kB / 0.7832 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.487e-05/0.009744, allocations: 11.94 kB / 0.7832 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.00975, allocations: 8 kB / 0.7832 GB, free: 13.67 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.62e-05/0.009837, allocations: 193.2 kB / 0.7834 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.009853, allocations: 7.984 kB / 0.7834 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.00988, allocations: 9.656 kB / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.009884, allocations: 0 / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.009884, allocations: 0 / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.009911, allocations: 11.94 kB / 0.7834 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.009924, allocations: 5.031 kB / 0.7834 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.009953, allocations: 3.938 kB / 0.7834 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.009967, allocations: 0 / 0.7834 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.844e-05/0.01005, allocations: 122.3 kB / 0.7836 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001072/0.01015, allocations: 219.1 kB / 0.7838 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.466e-05/0.01018, allocations: 12.84 kB / 0.7838 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.0102, allocations: 24.84 kB / 0.7838 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of Backend: time 6.01e-07/0.0102, allocations: 1.469 kB / 0.7838 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.01062, allocations: 196.8 kB / 0.784 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007127/0.01133, allocations: 0.7549 MB / 0.7847 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.003502/0.01483, allocations: 1.571 MB / 0.7863 GB, free: 10.57 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: 5.056072512641549]