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.0014/0.0014, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00202/0.00202, allocations: 212.5 kB / 22.24 MB, free: 4.859 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.816 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.06467/0.06467, allocations: 12.18 MB / 324.6 MB, free: 7.098 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.00105/0.00105, allocations: 32.7 kB / 384.1 MB, free: 47.53 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.5/2.5, allocations: 353.9 MB / 0.7787 GB, free: 1.641 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.003457/0.003457, allocations: 126.3 kB / 1.06 GB, free: 12.57 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3257, allocations: 134.9 MB / 1.192 GB, free: 5.801 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002127/0.3278, allocations: 0.6833 MB / 1.193 GB, free: 5.121 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3297, allocations: 1.301 MB / 1.194 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.3298, allocations: 0 / 1.194 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.3298, allocations: 3.938 kB / 1.194 GB, free: 3.805 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.3299, allocations: 23.84 kB / 1.194 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.3307, allocations: 311.8 kB / 1.194 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.3311, allocations: 259.5 kB / 1.195 GB, free: 3.234 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3312, allocations: 12.17 kB / 1.195 GB, free: 3.219 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3313, allocations: 103.9 kB / 1.195 GB, free: 3.117 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.3315, allocations: 79.75 kB / 1.195 GB, free: 3.039 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.3316, allocations: 20 kB / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.3317, allocations: 31.98 kB / 1.195 GB, free: 2.988 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.3317, allocations: 19.92 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3318, allocations: 75.88 kB / 1.195 GB, free: 2.895 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.3322, allocations: 227.2 kB / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3322, allocations: 0 / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3322, allocations: 4 kB / 1.195 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3322, allocations: 3.938 kB / 1.195 GB, free: 2.664 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.0007714/0.333, allocations: 415.2 kB / 1.196 GB, free: 2.211 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.333, allocations: 11.98 kB / 1.196 GB, free: 2.199 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.3331, allocations: 16.89 kB / 1.196 GB, free: 2.184 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3332, allocations: 126.4 kB / 1.196 GB, free: 2.035 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3332, allocations: 12.36 kB / 1.196 GB, free: 2.023 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.3333, allocations: 12.38 kB / 1.196 GB, free: 2.012 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3334, allocations: 54.23 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3334, allocations: 7.875 kB / 1.196 GB, free: 1.945 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3334, allocations: 4 kB / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3334, allocations: 4 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.3335, allocations: 19.98 kB / 1.196 GB, free: 1.918 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.3341, allocations: 320.3 kB / 1.196 GB, free: 1.574 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.3341, allocations: 30.52 kB / 1.196 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.3342, allocations: 20.88 kB / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3342, allocations: 4 kB / 1.196 GB, free: 1.508 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.3344, allocations: 95.42 kB / 1.196 GB, free: 1.402 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3344, allocations: 0 / 1.196 GB, free: 1.402 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10): time 0.0003426/0.3348, allocations: 141.5 kB / 1.196 GB, free: 1.258 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3348, allocations: 63.39 kB / 1.197 GB, free: 1.184 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.335, allocations: 132.6 kB / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.335, allocations: 37.7 kB / 1.197 GB, free: 1.004 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.3351, allocations: 100.1 kB / 1.197 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3351, allocations: 11.91 kB / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3353, allocations: 73.61 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3354, allocations: 318.8 kB / 1.197 GB, free: 0.4922 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.3357, allocations: 181 kB / 1.197 GB, free: 304 kB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.336, allocations: 227 kB / 1.198 GB, free: 36 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.3363, allocations: 239.5 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3363, allocations: 0 / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000707/0.337, allocations: 491.3 kB / 1.198 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.01e-05/0.3371, allocations: 93.09 kB / 1.198 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3371, allocations: 8.125 kB / 1.198 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3371, allocations: 4 kB / 1.198 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.569e-05/0.3372, allocations: 4 kB / 1.198 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3372, allocations: 4 kB / 1.198 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.3377, allocations: 79.83 kB / 1.198 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.3377, allocations: 19.98 kB / 1.198 GB, free: 15.01 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.0001426/0.3379, allocations: 138.3 kB / 1.199 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.3379, allocations: 7.953 kB / 1.199 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3379, allocations: 8.375 kB / 1.199 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3379, allocations: 8 kB / 1.199 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3379, allocations: 0 / 1.199 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3379, allocations: 3.984 kB / 1.199 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3381, allocations: 125.2 kB / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3381, allocations: 4 kB / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.3381, allocations: 3.984 kB / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3381, allocations: 4 kB / 1.199 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3381, allocations: 8 kB / 1.199 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3381, allocations: 0 / 1.199 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3381, allocations: 3.938 kB / 1.199 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.3383, allocations: 137 kB / 1.199 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.3383, allocations: 15.89 kB / 1.199 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.3383, allocations: 3.938 kB / 1.199 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.3384, allocations: 4 kB / 1.199 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3384, allocations: 11.98 kB / 1.199 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3384, allocations: 0 / 1.199 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.3385, allocations: 99.25 kB / 1.199 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 4 kB / 1.199 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002633/0.3387, allocations: 44 kB / 1.199 GB, free: 14.33 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.0001653/0.3389, allocations: 107.2 kB / 1.199 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.3395, allocations: 415.1 kB / 1.2 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3395, allocations: 0 / 1.2 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.65e-05/0.3395, allocations: 36.02 kB / 1.2 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3398, allocations: 38.33 kB / 1.2 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3403, allocations: 187 kB / 1.2 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.827e-05/0.3403, allocations: 79.88 kB / 1.2 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.3404, allocations: 12.42 kB / 1.2 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3404, allocations: 11.44 kB / 1.2 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3404, allocations: 0 / 1.2 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.006683/0.3471, allocations: 2.993 MB / 1.203 GB, free: 10.43 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.550470847636461] Failed to read output from testmodel.py, exit status != 0: 0.35565173253417015 0.37089731099999995 0.035297816 Calling exit ...