Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.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.001469/0.001469, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001685/0.001685, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.789 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.06126/0.06126, allocations: 12.19 MB / 324.6 MB, free: 7.047 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.0007742/0.0007742, allocations: 30.28 kB / 384.1 MB, free: 47.45 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.628/2.628, allocations: 353.9 MB / 0.7787 GB, free: 1.645 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor") [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.003583/0.003583, allocations: 125.8 kB / 1.06 GB, free: 12.55 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3422, allocations: 134.9 MB / 1.192 GB, free: 5.762 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002168/0.3444, allocations: 0.6259 MB / 1.193 GB, free: 5.141 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3462, allocations: 1.227 MB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.3463, allocations: 4 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3463, allocations: 3.938 kB / 1.194 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.3464, allocations: 11.81 kB / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.3471, allocations: 222.8 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3474, allocations: 175.8 kB / 1.194 GB, free: 3.5 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.3475, allocations: 4 kB / 1.194 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3476, allocations: 71.88 kB / 1.194 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3477, allocations: 51.86 kB / 1.195 GB, free: 3.375 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3478, allocations: 16 kB / 1.195 GB, free: 3.359 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.3478, allocations: 35.97 kB / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.3479, allocations: 3.938 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.348, allocations: 55.89 kB / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.3482, allocations: 155.5 kB / 1.195 GB, free: 3.113 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3482, allocations: 0 / 1.195 GB, free: 3.113 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3482, allocations: 3.938 kB / 1.195 GB, free: 3.109 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3482, allocations: 4 kB / 1.195 GB, free: 3.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006503/0.3489, allocations: 365.5 kB / 1.195 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3489, allocations: 11.98 kB / 1.195 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.349, allocations: 12.89 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3491, allocations: 110.5 kB / 1.195 GB, free: 2.547 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3491, allocations: 4.375 kB / 1.195 GB, free: 2.543 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.3492, allocations: 12.38 kB / 1.195 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3493, allocations: 50.23 kB / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3493, allocations: 4.125 kB / 1.195 GB, free: 2.473 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3493, allocations: 7.922 kB / 1.195 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3493, allocations: 4 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.3494, allocations: 19.98 kB / 1.195 GB, free: 2.441 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.3499, allocations: 268.5 kB / 1.196 GB, free: 2.148 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 9.132e-05/0.35, allocations: 26.58 kB / 1.196 GB, free: 2.113 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.3501, allocations: 24.88 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3501, allocations: 3.938 kB / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.3503, allocations: 79.36 kB / 1.196 GB, free: 1.992 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3503, allocations: 0 / 1.196 GB, free: 1.992 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0002848/0.3506, allocations: 105.6 kB / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3506, allocations: 67.33 kB / 1.196 GB, free: 1.805 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3508, allocations: 125.7 kB / 1.196 GB, free: 1.672 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3508, allocations: 29.7 kB / 1.196 GB, free: 1.637 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.3509, allocations: 88.14 kB / 1.196 GB, free: 1.547 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3509, allocations: 23.88 kB / 1.196 GB, free: 1.523 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.351, allocations: 49.69 kB / 1.196 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3512, allocations: 310.8 kB / 1.197 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3514, allocations: 123.4 kB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.3516, allocations: 155.7 kB / 1.197 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3519, allocations: 167.5 kB / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3519, allocations: 0 / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005363/0.3524, allocations: 328.2 kB / 1.197 GB, free: 308 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/0.3525, allocations: 72.73 kB / 1.197 GB, free: 224 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3525, allocations: 0 / 1.197 GB, free: 224 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3525, allocations: 4 kB / 1.197 GB, free: 220 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-05/0.3526, allocations: 7.922 kB / 1.197 GB, free: 212 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3526, allocations: 4.125 kB / 1.197 GB, free: 208 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.3529, allocations: 52.41 kB / 1.197 GB, free: 156 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.353, allocations: 11.98 kB / 1.197 GB, free: 144 kB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.000154/0.3531, allocations: 125.8 kB / 1.198 GB, free: 8 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.3531, allocations: 7.953 kB / 1.198 GB, free: 0 / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.3532, allocations: 4.375 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3532, allocations: 3.938 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3532, allocations: 8 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3532, allocations: 0 / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3534, allocations: 125.2 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3534, allocations: 0 / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.3534, allocations: 7.938 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3534, allocations: 0 / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3534, allocations: 4 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3534, allocations: 0 / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3534, allocations: 0 / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3536, allocations: 121 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.3536, allocations: 3.953 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3536, allocations: 8 kB / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.3536, allocations: 3.984 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3537, allocations: 8 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3537, allocations: 3.984 kB / 1.198 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.3538, allocations: 87.28 kB / 1.198 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0 / 1.198 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002435/0.354, allocations: 35.92 kB / 1.198 GB, free: 15.53 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001818/0.3542, allocations: 99.25 kB / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.3546, allocations: 282.1 kB / 1.198 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3546, allocations: 0 / 1.198 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.3547, allocations: 24 kB / 1.198 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3549, allocations: 20.59 kB / 1.198 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.3553, allocations: 162.8 kB / 1.198 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.012e-05/0.3554, allocations: 75.27 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.3554, allocations: 8.531 kB / 1.199 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.3554, allocations: 11.44 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3554, allocations: 0 / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.005624/0.3611, allocations: 2.105 MB / 1.201 GB, free: 12.72 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.634868275374174] Failed to read output from testmodel.py, exit status != 0: 0.37029093131422997 0.386198019 0.034597603000000005 Calling exit ...