Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.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.001376/0.001376, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001697/0.001697, allocations: 219.4 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.07349/0.07349, allocations: 12.19 MB / 324.6 MB, free: 7.277 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007569/0.0007569, allocations: 35.88 kB / 384.1 MB, free: 46.51 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.496/2.496, allocations: 353.8 MB / 0.7787 GB, free: 1.043 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003577/0.003577, allocations: 119.2 kB / 1.061 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2749, allocations: 134.9 MB / 1.192 GB, free: 6.199 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001873/0.2768, allocations: 0.6877 MB / 1.193 GB, free: 5.512 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2786, allocations: 1.317 MB / 1.194 GB, free: 4.184 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.2787, allocations: 0 / 1.194 GB, free: 4.184 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.2787, allocations: 7.922 kB / 1.194 GB, free: 4.176 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.2788, allocations: 19.8 kB / 1.194 GB, free: 4.156 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.2796, allocations: 307.6 kB / 1.195 GB, free: 3.867 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.28, allocations: 263.5 kB / 1.195 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2801, allocations: 16.16 kB / 1.195 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.2802, allocations: 103.9 kB / 1.195 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2804, allocations: 95.69 kB / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.2804, allocations: 27.94 kB / 1.195 GB, free: 3.367 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.2805, allocations: 35.98 kB / 1.195 GB, free: 3.332 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.2806, allocations: 19.92 kB / 1.195 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2807, allocations: 79.81 kB / 1.195 GB, free: 3.234 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.281, allocations: 219.3 kB / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.281, allocations: 0 / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.874e-06/0.281, allocations: 4 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.281, allocations: 3.938 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006274/0.2816, allocations: 415.2 kB / 1.196 GB, free: 2.559 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2817, allocations: 11.98 kB / 1.196 GB, free: 2.547 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.2817, allocations: 16.89 kB / 1.196 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2818, allocations: 118.4 kB / 1.196 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2819, allocations: 12.36 kB / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.2819, allocations: 12.38 kB / 1.196 GB, free: 2.367 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.282, allocations: 66.16 kB / 1.196 GB, free: 2.297 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2821, allocations: 3.938 kB / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2821, allocations: 0 / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2821, allocations: 0 / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.848e-05/0.2821, allocations: 23.98 kB / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.2828, allocations: 387.6 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.2828, allocations: 34.5 kB / 1.196 GB, free: 1.805 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.2829, allocations: 20.94 kB / 1.196 GB, free: 1.781 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.2829, allocations: 0 / 1.196 GB, free: 1.781 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.2831, allocations: 99.3 kB / 1.197 GB, free: 1.672 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2831, allocations: 0 / 1.197 GB, free: 1.672 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10): time 0.0003356/0.2834, allocations: 141.8 kB / 1.197 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2835, allocations: 55.39 kB / 1.197 GB, free: 1.461 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2836, allocations: 136.3 kB / 1.197 GB, free: 1.32 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.2837, allocations: 33.8 kB / 1.197 GB, free: 1.281 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.2838, allocations: 104.1 kB / 1.197 GB, free: 1.176 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2838, allocations: 19.89 kB / 1.197 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2839, allocations: 65.67 kB / 1.197 GB, free: 1.086 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2841, allocations: 322.8 kB / 1.197 GB, free: 0.7617 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2843, allocations: 91.94 kB / 1.197 GB, free: 0.6719 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2845, allocations: 136 kB / 1.198 GB, free: 0.5195 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.2848, allocations: 235 kB / 1.198 GB, free: 256 kB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2848, allocations: 4 kB / 1.198 GB, free: 252 kB / 0.8263 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000664/0.2855, allocations: 389.4 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/0.2856, allocations: 97.09 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.2856, allocations: 4.188 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2856, allocations: 4 kB / 1.198 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.094e-05/0.2856, allocations: 15.88 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2856, allocations: 4 kB / 1.198 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.2861, allocations: 75.83 kB / 1.198 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.2862, allocations: 23.98 kB / 1.198 GB, free: 15.61 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001403/0.2863, allocations: 132 kB / 1.199 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.2863, allocations: 7.953 kB / 1.199 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.2863, allocations: 8.375 kB / 1.199 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2864, allocations: 4 kB / 1.199 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2864, allocations: 0 / 1.199 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2864, allocations: 3.984 kB / 1.199 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2865, allocations: 164.6 kB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2865, allocations: 0 / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.2866, allocations: 15.94 kB / 1.199 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2866, allocations: 3.984 kB / 1.199 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2866, allocations: 3.984 kB / 1.199 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2866, allocations: 80 / 1.199 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2866, allocations: 3.984 kB / 1.199 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.2868, allocations: 136.9 kB / 1.199 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.2868, allocations: 15.89 kB / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.2868, allocations: 3.984 kB / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.2868, allocations: 4 kB / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.2869, allocations: 11.98 kB / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2869, allocations: 4.094 kB / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.287, allocations: 99.2 kB / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.287, allocations: 0 / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002704/0.2872, allocations: 44 kB / 1.199 GB, free: 14.88 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001824/0.2874, allocations: 108.5 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.2879, allocations: 329.9 kB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2879, allocations: 4 kB / 1.199 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.288, allocations: 27.92 kB / 1.199 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2883, allocations: 23.45 kB / 1.2 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.2887, allocations: 191.4 kB / 1.2 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.2891, allocations: 0.6963 MB / 1.2 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.2891, allocations: 12.42 kB / 1.2 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.2891, allocations: 11.44 kB / 1.2 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.2891, allocations: 3.938 kB / 1.2 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.006697/0.2958, allocations: 2.667 MB / 1.203 GB, free: 10.77 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.131156414747238] Failed to read output from testmodel.py, exit status != 0: 0.3051086664199829 0.329786722 0.044175427 Calling exit ...