Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.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.001468/0.001468, allocations: 114.9 kB / 17.81 MB, free: 5.137 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.001499/0.001499, allocations: 187.8 kB / 20.74 MB, free: 2.207 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.346/1.346, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.8034/0.8034, allocations: 128.4 MB / 432.4 MB, free: 13.08 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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 55.91 kB / 0.5987 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3328, allocations: 83.27 MB / 0.68 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002124/0.335, allocations: 1.54 MB / 0.6815 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.3357, allocations: 0.588 MB / 0.6821 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.3358, allocations: 1.062 kB / 0.6821 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.3358, allocations: 11.86 kB / 0.6821 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.3359, allocations: 19.7 kB / 0.6821 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.3362, allocations: 98 kB / 0.6822 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3363, allocations: 93.73 kB / 0.6823 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.3364, allocations: 11.77 kB / 0.6823 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.3365, allocations: 49.17 kB / 0.6823 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.3366, allocations: 49.11 kB / 0.6824 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3366, allocations: 7.969 kB / 0.6824 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3367, allocations: 88.28 kB / 0.6825 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.3368, allocations: 27.89 kB / 0.6825 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.3368, allocations: 37.83 kB / 0.6825 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.337, allocations: 136 kB / 0.6827 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.337, allocations: 0 / 0.6827 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.337, allocations: 5.141 kB / 0.6827 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.337, allocations: 0 / 0.6827 GB, free: 4.895 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006631/0.3376, allocations: 448.2 kB / 0.6831 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.3377, allocations: 9.25 kB / 0.6831 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3377, allocations: 10.45 kB / 0.6831 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3378, allocations: 204.7 kB / 0.6833 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3378, allocations: 10.5 kB / 0.6833 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3379, allocations: 4.938 kB / 0.6833 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3381, allocations: 107.1 kB / 0.6834 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3381, allocations: 0 / 0.6834 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3382, allocations: 1.125 kB / 0.6834 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.3382, allocations: 3.406 kB / 0.6834 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.3385, allocations: 102.2 kB / 0.6835 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.339, allocations: 344.6 kB / 0.6839 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3393, allocations: 88.03 kB / 0.684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3394, allocations: 59.16 kB / 0.684 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3394, allocations: 0 / 0.684 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.3397, allocations: 122.2 kB / 0.6841 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3397, allocations: 0 / 0.6841 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005886/0.3403, allocations: 206.3 kB / 0.6843 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.3403, allocations: 57.89 kB / 0.6844 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.3404, allocations: 136.7 kB / 0.6845 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3404, allocations: 30.8 kB / 0.6845 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.3405, allocations: 100.5 kB / 0.6846 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.3405, allocations: 27.19 kB / 0.6847 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.3405, allocations: 30.36 kB / 0.6847 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.3406, allocations: 325.1 kB / 0.685 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3407, allocations: 56.39 kB / 0.6851 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.3409, allocations: 57.17 kB / 0.6851 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.3412, allocations: 152.4 kB / 0.6853 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3412, allocations: 3.938 kB / 0.6853 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004282/0.3417, allocations: 200.2 kB / 0.6854 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3417, allocations: 31.2 kB / 0.6855 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3417, allocations: 1.25 kB / 0.6855 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3417, allocations: 0 / 0.6855 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3418, allocations: 25.16 kB / 0.6855 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3419, allocations: 0 / 0.6855 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.342, allocations: 17.53 kB / 0.6855 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.342, allocations: 2.281 kB / 0.6855 GB, free: 2.445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 6.472e-05/0.3421, allocations: 133 kB / 0.6857 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.3421, allocations: 8.359 kB / 0.6857 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.3421, allocations: 11.03 kB / 0.6857 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3421, allocations: 11.28 kB / 0.6857 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3421, allocations: 1.219 kB / 0.6857 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3421, allocations: 3.984 kB / 0.6857 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3422, allocations: 195.8 kB / 0.6859 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3422, allocations: 0 / 0.6859 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3423, allocations: 23.72 kB / 0.6859 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3423, allocations: 0 / 0.6859 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3424, allocations: 1.25 kB / 0.6859 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3424, allocations: 1.188 kB / 0.6859 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3424, allocations: 0 / 0.6859 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.3427, allocations: 193.4 kB / 0.6861 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3428, allocations: 88.31 kB / 0.6862 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3428, allocations: 1.156 kB / 0.6862 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3429, allocations: 19.66 kB / 0.6862 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.343, allocations: 13.86 kB / 0.6862 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.343, allocations: 6.281 kB / 0.6862 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.343, allocations: 110.4 kB / 0.6863 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.343, allocations: 0 / 0.6863 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.3432, allocations: 39.16 kB / 0.6863 GB, free: 1.699 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001298/0.3434, allocations: 111.7 kB / 0.6865 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3438, allocations: 182.8 kB / 0.6866 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3438, allocations: 0 / 0.6866 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.344, allocations: 59.3 kB / 0.6867 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.3442, allocations: 16.7 kB / 0.6867 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3446, allocations: 264.6 kB / 0.687 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.994e-05/0.3447, allocations: 0.7007 MB / 0.6876 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.3448, allocations: 12.47 kB / 0.6876 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.3448, allocations: 192 / 0.6876 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of Templates: time 0.00302/0.3478, allocations: 1.523 MB / 0.6891 GB, free: 15.75 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.533289315877482] Failed to read output from testmodel.py, exit status != 0: 0.35508169094100595 0.366622441 0.027137284 Calling exit ...