Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001454/0.001454, allocations: 214.8 kB / 22.25 MB, free: 5.133 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.988 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.06294/0.06294, allocations: 12.18 MB / 324.6 MB, free: 7.281 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.0008634/0.0008634, allocations: 34.41 kB / 384.1 MB, free: 46.59 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.526/2.526, allocations: 353.8 MB / 0.7787 GB, free: 1.051 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.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.003734/0.003734, allocations: 123.1 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2747, allocations: 134.9 MB / 1.192 GB, free: 6.195 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002324/0.2771, allocations: 0.7727 MB / 1.193 GB, free: 5.422 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2789, allocations: 1.203 MB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.2789, allocations: 8 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.279, allocations: 3.938 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.2791, allocations: 11.88 kB / 1.194 GB, free: 4.184 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.2797, allocations: 141 kB / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.2799, allocations: 127.7 kB / 1.195 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.28, allocations: 11.98 kB / 1.195 GB, free: 3.914 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2802, allocations: 59.83 kB / 1.195 GB, free: 3.855 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2803, allocations: 51.81 kB / 1.195 GB, free: 3.805 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.2803, allocations: 16 kB / 1.195 GB, free: 3.789 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.2804, allocations: 23.98 kB / 1.195 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.2804, allocations: 15.94 kB / 1.195 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.2805, allocations: 47.83 kB / 1.195 GB, free: 3.703 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.2808, allocations: 115.6 kB / 1.195 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2808, allocations: 0 / 1.195 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2808, allocations: 0 / 1.195 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2808, allocations: 0 / 1.195 GB, free: 3.59 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.0007745/0.2816, allocations: 355.7 kB / 1.195 GB, free: 3.203 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2816, allocations: 19.97 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.2817, allocations: 8.891 kB / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2818, allocations: 118.4 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2818, allocations: 8.375 kB / 1.195 GB, free: 3.027 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.2818, allocations: 4.375 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.2821, allocations: 78.2 kB / 1.195 GB, free: 2.941 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2821, allocations: 192 / 1.195 GB, free: 2.941 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2822, allocations: 7.938 kB / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2822, allocations: 0 / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.2825, allocations: 75.91 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.283, allocations: 307.6 kB / 1.196 GB, free: 2.516 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2832, allocations: 50.55 kB / 1.196 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2834, allocations: 44.91 kB / 1.196 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2834, allocations: 0 / 1.196 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.2837, allocations: 99.34 kB / 1.196 GB, free: 2.301 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2837, allocations: 0 / 1.196 GB, free: 2.301 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6): time 0.000611/0.2843, allocations: 161.5 kB / 1.196 GB, free: 2.137 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2844, allocations: 51.41 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2845, allocations: 129.6 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.2845, allocations: 33.7 kB / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.2846, allocations: 88.14 kB / 1.196 GB, free: 1.809 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2846, allocations: 23.84 kB / 1.196 GB, free: 1.785 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.2847, allocations: 37.64 kB / 1.196 GB, free: 1.742 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2848, allocations: 318.8 kB / 1.197 GB, free: 1.422 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.2851, allocations: 59.94 kB / 1.197 GB, free: 1.363 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2853, allocations: 90.45 kB / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.2857, allocations: 148.2 kB / 1.197 GB, free: 1.105 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2857, allocations: 4 kB / 1.197 GB, free: 1.102 MB / 0.8263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000556/0.2862, allocations: 207.5 kB / 1.197 GB, free: 0.8867 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.2863, allocations: 34.95 kB / 1.197 GB, free: 0.8477 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2863, allocations: 3.984 kB / 1.197 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.2863, allocations: 4 kB / 1.197 GB, free: 0.8398 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2865, allocations: 20.05 kB / 1.197 GB, free: 0.8203 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2865, allocations: 7.938 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.2867, allocations: 43.84 kB / 1.197 GB, free: 0.7695 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.2867, allocations: 11.98 kB / 1.197 GB, free: 0.7578 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * 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 0.0001129/0.2868, allocations: 117.8 kB / 1.197 GB, free: 0.6328 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.2869, allocations: 7.953 kB / 1.197 GB, free: 0.625 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.2869, allocations: 8.375 kB / 1.198 GB, free: 0.6133 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2869, allocations: 8 kB / 1.198 GB, free: 0.6055 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2869, allocations: 0 / 1.198 GB, free: 0.6055 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2869, allocations: 0 / 1.198 GB, free: 0.6055 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.2871, allocations: 156.6 kB / 1.198 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2871, allocations: 0 / 1.198 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.2872, allocations: 15.98 kB / 1.198 GB, free: 404 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2872, allocations: 0 / 1.198 GB, free: 404 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2872, allocations: 0 / 1.198 GB, free: 404 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2872, allocations: 0 / 1.198 GB, free: 404 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2872, allocations: 0 / 1.198 GB, free: 404 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.2876, allocations: 156.9 kB / 1.198 GB, free: 228 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.2876, allocations: 4 kB / 1.198 GB, free: 224 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2876, allocations: 7.984 kB / 1.198 GB, free: 216 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.2877, allocations: 11.98 kB / 1.198 GB, free: 204 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.2878, allocations: 11.98 kB / 1.198 GB, free: 192 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2878, allocations: 0 / 1.198 GB, free: 192 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.2878, allocations: 103.3 kB / 1.198 GB, free: 88 kB / 0.8263 GB Notification: Performance of sort global known variables: time 1e-07/0.2878, allocations: 0 / 1.198 GB, free: 88 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002306/0.2881, allocations: 23.95 kB / 1.198 GB, free: 64 kB / 0.8263 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,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001956/0.2883, allocations: 99.19 kB / 1.198 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.2888, allocations: 179.2 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2888, allocations: 0 / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.289, allocations: 44.14 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.2892, allocations: 28.08 kB / 1.198 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.2896, allocations: 174.1 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2899, allocations: 0.6885 MB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.2899, allocations: 3.984 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.29, allocations: 11.44 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.29, allocations: 0 / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.004815/0.2948, allocations: 1.597 MB / 1.201 GB, free: 13.21 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.226227089762688] Failed to read output from testmodel.py, exit status != 0: 0.3032839670777321 0.31820747399999993 0.034227479000000005 Calling exit ...