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.0008203/0.0008203, allocations: 104.3 kB / 19.7 MB, free: 0.5664 MB / 13.93 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.0007956/0.0007956, allocations: 211.2 kB / 23 MB, free: 3.066 MB / 13.93 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.9873/0.9873, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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.03999/0.03999, allocations: 12.19 MB / 325.4 MB, free: 6.066 MB / 250.7 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.0004751/0.0004751, allocations: 31.94 kB / 384.8 MB, free: 10.49 MB / 314.7 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 1.794/1.794, allocations: 353.8 MB / 0.7794 GB, free: 4.535 MB / 0.5105 GB " [Timeout remaining time 178] 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.001402/0.001402, allocations: 126.1 kB / 1.061 GB, free: 24.3 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2381, allocations: 134.9 MB / 1.193 GB, free: 6.918 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001615/0.2397, allocations: 0.7547 MB / 1.194 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2408, allocations: 1.188 MB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.2409, allocations: 0 / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.2409, allocations: 3.938 kB / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.241, allocations: 15.81 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.2414, allocations: 139.9 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.2416, allocations: 131.7 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.2417, allocations: 8 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.2418, allocations: 55.89 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.2419, allocations: 47.81 kB / 1.195 GB, free: 4.574 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.2419, allocations: 12 kB / 1.195 GB, free: 4.562 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.2419, allocations: 23.98 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.242, allocations: 8 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.242, allocations: 47.83 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2422, allocations: 119.5 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2422, allocations: 4 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2422, allocations: 0 / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2422, allocations: 0 / 1.195 GB, free: 4.363 MB / 0.823 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.0005406/0.2427, allocations: 351.7 kB / 1.196 GB, free: 3.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2428, allocations: 8.031 kB / 1.196 GB, free: 3.973 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.2428, allocations: 12.88 kB / 1.196 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.2429, allocations: 114.5 kB / 1.196 GB, free: 3.824 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2429, allocations: 4.375 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.2429, allocations: 8.375 kB / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.2431, allocations: 78.19 kB / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2431, allocations: 192 / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2431, allocations: 7.938 kB / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2431, allocations: 7.938 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.2434, allocations: 67.92 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.2438, allocations: 252.4 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.2439, allocations: 62.47 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.244, allocations: 48.84 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.244, allocations: 3.938 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.2442, allocations: 91.36 kB / 1.197 GB, free: 3.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2442, allocations: 0 / 1.197 GB, free: 3.145 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.000361/0.2445, allocations: 169.5 kB / 1.197 GB, free: 2.973 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2446, allocations: 51.41 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.2446, allocations: 124.3 kB / 1.197 GB, free: 2.777 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2447, allocations: 33.7 kB / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.2447, allocations: 92.12 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.2447, allocations: 15.86 kB / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.2448, allocations: 33.7 kB / 1.197 GB, free: 2.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.2448, allocations: 322.8 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.245, allocations: 97.64 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.2451, allocations: 112.2 kB / 1.198 GB, free: 2.039 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2453, allocations: 144.2 kB / 1.198 GB, free: 1.883 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2453, allocations: 7.938 kB / 1.198 GB, free: 1.875 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002954/0.2456, allocations: 240.9 kB / 1.198 GB, free: 1.621 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.2459, allocations: 37.69 kB / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2459, allocations: 4 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2459, allocations: 0 / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.246, allocations: 20.36 kB / 1.198 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.246, allocations: 0 / 1.198 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2461, allocations: 47.83 kB / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2462, allocations: 8 kB / 1.198 GB, free: 1.5 MB / 0.823 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 6.772e-05/0.2462, allocations: 117.8 kB / 1.198 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.2462, allocations: 11.94 kB / 1.198 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.2463, allocations: 16.36 kB / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2463, allocations: 0 / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2463, allocations: 4 kB / 1.198 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2463, allocations: 3.938 kB / 1.198 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.349e-05/0.2463, allocations: 121.2 kB / 1.198 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2463, allocations: 0 / 1.198 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.2464, allocations: 19.97 kB / 1.198 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2464, allocations: 0 / 1.198 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2464, allocations: 4 kB / 1.198 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.2464, allocations: 0 / 1.198 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2464, allocations: 0 / 1.198 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2466, allocations: 160.9 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.2466, allocations: 0 / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2466, allocations: 4 kB / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.2467, allocations: 11.98 kB / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.2467, allocations: 7.984 kB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2467, allocations: 4 kB / 1.198 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.2467, allocations: 99.2 kB / 1.199 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2467, allocations: 4 kB / 1.199 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001444/0.2469, allocations: 31.94 kB / 1.199 GB, free: 0.8281 MB / 0.823 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.0001396/0.247, allocations: 95.25 kB / 1.199 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.2473, allocations: 201 kB / 1.199 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2473, allocations: 0 / 1.199 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.2474, allocations: 56.02 kB / 1.199 GB, free: 468 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.2476, allocations: 26.36 kB / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.2479, allocations: 195.7 kB / 1.199 GB, free: 216 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.2479, allocations: 72.88 kB / 1.199 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.2479, allocations: 15.44 kB / 1.199 GB, free: 108 kB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.2479, allocations: 4 kB / 1.199 GB, free: 104 kB / 0.823 GB Notification: Performance of Templates: time 0.002062/0.25, allocations: 1.332 MB / 1.201 GB, free: 14.79 MB / 0.8387 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: 7.590920237824321] Failed to read output from testmodel.py, exit status != 0: 0.25521694030612707 0.26398224899999995 0.020155722 Calling exit ...