Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 118.9 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 187.8 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8147/0.8147, allocations: 128.4 MB / 432.4 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.83 kB / 0.5987 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 83.26 MB / 0.68 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003167/0.345, allocations: 2.526 MB / 0.6825 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3461, allocations: 0.7851 MB / 0.6832 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.3462, allocations: 7.281 kB / 0.6832 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3472, allocations: 0.5448 MB / 0.6838 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.3474, allocations: 107.6 kB / 0.6839 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3477, allocations: 109.3 kB / 0.684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.3479, allocations: 194 kB / 0.6842 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.3482, allocations: 137.5 kB / 0.6843 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.3483, allocations: 79.64 kB / 0.6844 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.3485, allocations: 105.3 kB / 0.6845 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3485, allocations: 12.75 kB / 0.6845 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.3487, allocations: 106 kB / 0.6846 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3487, allocations: 59.47 kB / 0.6846 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.3488, allocations: 68.45 kB / 0.6847 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3491, allocations: 231.9 kB / 0.6849 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3491, allocations: 0 / 0.6849 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3491, allocations: 3.938 kB / 0.6849 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3491, allocations: 1.062 kB / 0.6849 GB, free: 3.324 MB / 0.4981 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.0005202/0.3496, allocations: 448.1 kB / 0.6854 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3496, allocations: 10.16 kB / 0.6854 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.35, allocations: 48.39 kB / 0.6854 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3502, allocations: 221.1 kB / 0.6856 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3502, allocations: 10.06 kB / 0.6856 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.3502, allocations: 12.66 kB / 0.6857 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.3505, allocations: 234.9 kB / 0.6859 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3505, allocations: 1.094 kB / 0.6859 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3505, allocations: 5 kB / 0.6859 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.3506, allocations: 20.72 kB / 0.6859 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.3508, allocations: 146.7 kB / 0.686 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.3515, allocations: 1.129 MB / 0.6871 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.3516, allocations: 36.06 kB / 0.6872 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.3516, allocations: 14.33 kB / 0.6872 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.3516, allocations: 5.344 kB / 0.6872 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.3517, allocations: 35.91 kB / 0.6872 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3517, allocations: 0 / 0.6872 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.3518, allocations: 75.28 kB / 0.6873 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.3519, allocations: 56.97 kB / 0.6874 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.352, allocations: 179.1 kB / 0.6875 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.352, allocations: 27.17 kB / 0.6876 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.352, allocations: 139.7 kB / 0.6877 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.352, allocations: 18.08 kB / 0.6877 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3521, allocations: 32.83 kB / 0.6877 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.3521, allocations: 320.3 kB / 0.688 GB, free: 344 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.3522, allocations: 33.28 kB / 0.6881 GB, free: 320 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.3522, allocations: 86.47 kB / 0.6882 GB, free: 216 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.743e-05/0.3523, allocations: 127.5 kB / 0.6883 GB, free: 84 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3523, allocations: 4.938 kB / 0.6883 GB, free: 80 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001892/0.3525, allocations: 138 kB / 0.6884 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3525, allocations: 5.719 kB / 0.6884 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3525, allocations: 2.781 kB / 0.6884 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3525, allocations: 8.094 kB / 0.6884 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3526, allocations: 31.25 kB / 0.6885 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3526, allocations: 8.141 kB / 0.6885 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.3527, allocations: 16.2 kB / 0.6885 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3527, allocations: 10.03 kB / 0.6885 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001128/0.3528, allocations: 125.5 kB / 0.6886 GB, free: 15.85 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.478e-05/0.3529, allocations: 88.94 kB / 0.6887 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001376/0.3531, allocations: 119.5 kB / 0.6888 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.572e-06/0.3531, allocations: 1.25 kB / 0.6888 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001921/0.3533, allocations: 137.7 kB / 0.6889 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.3533, allocations: 8.906 kB / 0.6889 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.3533, allocations: 3.094 kB / 0.689 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.3533, allocations: 2.875 kB / 0.689 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.3533, allocations: 28.14 kB / 0.689 GB, free: 15.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3534, allocations: 7.344 kB / 0.689 GB, free: 15.53 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.3534, allocations: 4.375 kB / 0.689 GB, free: 15.53 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3534, allocations: 9.438 kB / 0.689 GB, free: 15.52 MB / 0.5138 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.0001143/0.3535, allocations: 187.7 kB / 0.6892 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3536, allocations: 16.16 kB / 0.6892 GB, free: 15.32 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.3536, allocations: 17.64 kB / 0.6892 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3536, allocations: 3.938 kB / 0.6892 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3536, allocations: 0 / 0.6892 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3536, allocations: 1.188 kB / 0.6892 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.3541, allocations: 477.9 kB / 0.6897 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3541, allocations: 1 kB / 0.6897 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.3541, allocations: 6.25 kB / 0.6897 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3541, allocations: 1.438 kB / 0.6897 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3541, allocations: 1.375 kB / 0.6897 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3541, allocations: 5.109 kB / 0.6897 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3541, allocations: 5.281 kB / 0.6897 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3543, allocations: 118.5 kB / 0.6898 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.3543, allocations: 94.36 kB / 0.6899 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3544, allocations: 1.25 kB / 0.6899 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.3544, allocations: 1.312 kB / 0.6899 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3544, allocations: 2.75 kB / 0.6899 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.3544, allocations: 1.375 kB / 0.6899 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0001023/0.3545, allocations: 130.1 kB / 0.69 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.3545, allocations: 0 / 0.69 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003375/0.3549, allocations: 53.17 kB / 0.6901 GB, free: 14.48 MB / 0.5138 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.0001083/0.355, allocations: 101.5 kB / 0.6902 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3552, allocations: 105.8 kB / 0.6903 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3552, allocations: 5.375 kB / 0.6903 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.3552, allocations: 17.09 kB / 0.6903 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3554, allocations: 26.62 kB / 0.6903 GB, free: 14.31 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.356, allocations: 317.6 kB / 0.6906 GB, free: 14.04 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3563, allocations: 0.73 MB / 0.6913 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.3564, allocations: 13.28 kB / 0.6914 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of SimCode: time 3.21e-07/0.3564, allocations: 0 / 0.6914 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.003171/0.3596, allocations: 1.467 MB / 0.6928 GB, free: 12.56 MB / 0.5138 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.46853625588119] Failed to read output from testmodel.py, exit status != 0: 0.36723192618228495 0.379288651 0.027566218000000003 Calling exit ...