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.0008285/0.0008285, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.0009431/0.0009431, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.9135/0.9135, allocations: 230.6 MB / 256.8 MB, free: 3.457 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.03798/0.03798, allocations: 12.2 MB / 325.4 MB, free: 3.414 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.000344/0.000344, allocations: 31.58 kB / 384.9 MB, free: 45.75 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.613/1.613, allocations: 353.8 MB / 0.7794 GB, free: 13.04 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.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.001442/0.001442, allocations: 116.8 kB / 1.061 GB, free: 9.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.219, allocations: 134.9 MB / 1.193 GB, free: 2.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001329/0.2203, allocations: 0.6916 MB / 1.194 GB, free: 1.879 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2214, allocations: 1.318 MB / 1.195 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.2215, allocations: 3.938 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.2215, allocations: 3.938 kB / 1.195 GB, free: 0.543 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.2216, allocations: 23.84 kB / 1.195 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.2222, allocations: 310.1 kB / 1.195 GB, free: 232 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2224, allocations: 263.5 kB / 1.196 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.2225, allocations: 12.17 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.2226, allocations: 95.88 kB / 1.196 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2227, allocations: 99.72 kB / 1.196 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2227, allocations: 24 kB / 1.196 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.2228, allocations: 32 kB / 1.196 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2228, allocations: 15.92 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 7.717e-05/0.2229, allocations: 87.8 kB / 1.196 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2231, allocations: 219.4 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2231, allocations: 0 / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2231, allocations: 4 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2231, allocations: 0 / 1.196 GB, free: 15.39 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.0004155/0.2235, allocations: 419.1 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2236, allocations: 11.98 kB / 1.197 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.2236, allocations: 24.81 kB / 1.197 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.2237, allocations: 114.4 kB / 1.197 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2237, allocations: 8.375 kB / 1.197 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.2237, allocations: 16.38 kB / 1.197 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.2238, allocations: 58.22 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2238, allocations: 7.938 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2239, allocations: 3.984 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2239, allocations: 7.984 kB / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.2239, allocations: 19.94 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.2244, allocations: 391.5 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.2244, allocations: 30.58 kB / 1.197 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.2245, allocations: 16.94 kB / 1.197 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.2245, allocations: 8 kB / 1.197 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.2246, allocations: 95.28 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2246, allocations: 0 / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of matching and sorting (n=10): time 0.0002269/0.2248, allocations: 141.5 kB / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2248, allocations: 55.41 kB / 1.197 GB, free: 13.82 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.2249, allocations: 132.6 kB / 1.198 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.225, allocations: 33.7 kB / 1.198 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.225, allocations: 112.1 kB / 1.198 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.225, allocations: 15.91 kB / 1.198 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.2251, allocations: 65.67 kB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.2252, allocations: 322.8 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2253, allocations: 87.95 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2255, allocations: 146.2 kB / 1.198 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.2256, allocations: 227 kB / 1.199 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2256, allocations: 4 kB / 1.199 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004125/0.2261, allocations: 394.4 kB / 1.199 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.2261, allocations: 103.2 kB / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2261, allocations: 0 / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2261, allocations: 7.984 kB / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.2261, allocations: 0 / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2261, allocations: 4 kB / 1.199 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.2264, allocations: 84.03 kB / 1.199 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.2264, allocations: 15.98 kB / 1.199 GB, free: 11.98 MB / 0.8387 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 7.559e-05/0.2265, allocations: 136.6 kB / 1.199 GB, free: 11.84 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.2265, allocations: 15.88 kB / 1.199 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.2265, allocations: 16.75 kB / 1.199 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2265, allocations: 0 / 1.199 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2265, allocations: 4 kB / 1.199 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2265, allocations: 0 / 1.199 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.177e-05/0.2266, allocations: 168.5 kB / 1.199 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2266, allocations: 4 kB / 1.199 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.2266, allocations: 0 / 1.199 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2266, allocations: 0 / 1.199 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2266, allocations: 8 kB / 1.199 GB, free: 11.58 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2266, allocations: 0 / 1.199 GB, free: 11.58 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2266, allocations: 0 / 1.199 GB, free: 11.58 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2268, allocations: 144.9 kB / 1.2 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.2268, allocations: 7.891 kB / 1.2 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.2268, allocations: 4 kB / 1.2 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.2268, allocations: 4 kB / 1.2 GB, free: 11.4 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.2268, allocations: 7.984 kB / 1.2 GB, free: 11.39 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2268, allocations: 7.984 kB / 1.2 GB, free: 11.39 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.2269, allocations: 99.27 kB / 1.2 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2269, allocations: 4 kB / 1.2 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001661/0.227, allocations: 40 kB / 1.2 GB, free: 11.25 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: 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.0001122/0.2272, allocations: 103.2 kB / 1.2 GB, free: 11.14 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.2275, allocations: 322 kB / 1.2 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2275, allocations: 0 / 1.2 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.2275, allocations: 35.92 kB / 1.2 GB, free: 10.75 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.2277, allocations: 35.25 kB / 1.2 GB, free: 10.72 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.228, allocations: 220.7 kB / 1.2 GB, free: 10.47 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2281, allocations: 0.6962 MB / 1.201 GB, free: 9.746 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.2282, allocations: 15.44 kB / 1.201 GB, free: 9.73 MB / 0.8387 GB Notification: Performance of SimCode: time 3.9e-07/0.2282, allocations: 0 / 1.201 GB, free: 9.73 MB / 0.8387 GB Notification: Performance of Templates: time 0.002616/0.2308, allocations: 1.886 MB / 1.203 GB, free: 7.879 MB / 0.8387 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: 7.00248159840703] Failed to read output from testmodel.py, exit status != 0: 0.23608440347015858 0.24448479499999995 0.019705355999999938 Calling exit ...