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.0007061/0.0007061, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0007248/0.0007248, allocations: 215.6 kB / 23.01 MB, free: 3.105 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.9189/0.9189, allocations: 230.6 MB / 256.8 MB, free: 3.434 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.05226/0.05226, allocations: 12.19 MB / 325.4 MB, free: 3.43 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.0004067/0.0004067, allocations: 32.38 kB / 384.9 MB, free: 45.8 MB / 298.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.632/1.632, allocations: 353.8 MB / 0.7795 GB, free: 13.05 MB / 0.5262 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.00137/0.00137, allocations: 115.8 kB / 1.061 GB, free: 9.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2191, allocations: 134.9 MB / 1.193 GB, free: 2.559 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002177/0.2213, allocations: 0.7748 MB / 1.194 GB, free: 1.789 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2228, allocations: 1.198 MB / 1.195 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.2229, allocations: 0 / 1.195 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.2229, allocations: 11.88 kB / 1.195 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.223, allocations: 19.8 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.2235, allocations: 142.4 kB / 1.195 GB, free: 420 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.2237, allocations: 119.8 kB / 1.195 GB, free: 300 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2238, allocations: 11.98 kB / 1.195 GB, free: 288 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.224, allocations: 55.89 kB / 1.195 GB, free: 232 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2241, allocations: 47.83 kB / 1.195 GB, free: 184 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2241, allocations: 12 kB / 1.195 GB, free: 172 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.2242, allocations: 27.92 kB / 1.195 GB, free: 144 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2242, allocations: 19.92 kB / 1.195 GB, free: 124 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.2243, allocations: 47.83 kB / 1.195 GB, free: 76 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2245, allocations: 119.7 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2245, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2245, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2245, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.8387 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.0006137/0.2251, allocations: 355.6 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2251, allocations: 11.98 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.2252, allocations: 16.89 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.2253, allocations: 114.5 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2253, allocations: 8.375 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2253, allocations: 4.375 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2256, allocations: 86.03 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2256, allocations: 4.188 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2256, allocations: 7.938 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2256, allocations: 0 / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2258, allocations: 71.92 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.2263, allocations: 299.7 kB / 1.197 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2264, allocations: 58.47 kB / 1.197 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2265, allocations: 44.91 kB / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2266, allocations: 0 / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.2268, allocations: 91.36 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.2268, allocations: 0 / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of matching and sorting (n=6): time 0.0004535/0.2272, allocations: 173.5 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2273, allocations: 51.41 kB / 1.197 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.2274, allocations: 120.7 kB / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2274, allocations: 29.7 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.2275, allocations: 104.1 kB / 1.197 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2275, allocations: 11.86 kB / 1.197 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.2276, allocations: 37.7 kB / 1.197 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2277, allocations: 322.8 kB / 1.198 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.2278, allocations: 59.95 kB / 1.198 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.228, allocations: 86.58 kB / 1.198 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.2285, allocations: 148.1 kB / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2285, allocations: 0 / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004365/0.2289, allocations: 211.2 kB / 1.198 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.229, allocations: 33.7 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.229, allocations: 0 / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.229, allocations: 0 / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2291, allocations: 23.97 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2291, allocations: 4 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.2293, allocations: 43.91 kB / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2293, allocations: 8 kB / 1.198 GB, free: 13.14 MB / 0.8387 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.0001007/0.2294, allocations: 122.6 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.2294, allocations: 12.03 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2294, allocations: 12.31 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2295, allocations: 0 / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2295, allocations: 4 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.2295, allocations: 4 kB / 1.198 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2296, allocations: 152.7 kB / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2296, allocations: 320 / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.402e-05/0.2297, allocations: 23.97 kB / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2297, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2297, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2297, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2297, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.23, allocations: 160.9 kB / 1.199 GB, free: 12.58 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.23, allocations: 8 kB / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.23, allocations: 0 / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.2301, allocations: 11.98 kB / 1.199 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2301, allocations: 11.98 kB / 1.199 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2301, allocations: 0 / 1.199 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.2302, allocations: 99.27 kB / 1.199 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of sort global known variables: time 9e-08/0.2302, allocations: 3.938 kB / 1.199 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002445/0.2304, allocations: 31.94 kB / 1.199 GB, free: 12.42 MB / 0.8387 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.0001592/0.2306, allocations: 91.25 kB / 1.199 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.231, allocations: 179.2 kB / 1.199 GB, free: 12.13 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.231, allocations: 0 / 1.199 GB, free: 12.13 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2311, allocations: 51.94 kB / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2314, allocations: 20 kB / 1.199 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2327, allocations: 187.7 kB / 1.199 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2329, allocations: 0.6886 MB / 1.2 GB, free: 11.13 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.2329, allocations: 15.44 kB / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of SimCode: time 7.32e-07/0.2329, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of Templates: time 0.002237/0.2352, allocations: 1.311 MB / 1.201 GB, free: 9.824 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: 6.781796529889107] Failed to read output from testmodel.py, exit status != 0: 0.2405539695173502 0.24918747599999996 0.022708471 Calling exit ...