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.001276/0.001276, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001463/0.001463, allocations: 217 kB / 22.25 MB, free: 5.082 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.02 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.09623/0.09623, allocations: 12.19 MB / 324.6 MB, free: 7.262 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.0007581/0.0007581, allocations: 35.58 kB / 384.1 MB, free: 46.62 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.689/2.689, allocations: 353.8 MB / 0.7787 GB, free: 1.055 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.006106/0.006106, allocations: 125.8 kB / 1.061 GB, free: 13.03 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3298, allocations: 134.9 MB / 1.192 GB, free: 6.203 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001834/0.3316, allocations: 0.6449 MB / 1.193 GB, free: 5.559 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3333, allocations: 1.251 MB / 1.194 GB, free: 4.297 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.3333, allocations: 0 / 1.194 GB, free: 4.297 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.3334, allocations: 3.938 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.3335, allocations: 11.88 kB / 1.194 GB, free: 4.281 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.3341, allocations: 217.8 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3344, allocations: 179.7 kB / 1.195 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.3345, allocations: 11.98 kB / 1.195 GB, free: 3.887 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3346, allocations: 63.95 kB / 1.195 GB, free: 3.824 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.3347, allocations: 63.78 kB / 1.195 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.3348, allocations: 16 kB / 1.195 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.152e-05/0.3349, allocations: 27.98 kB / 1.195 GB, free: 3.719 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3349, allocations: 8 kB / 1.195 GB, free: 3.711 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.335, allocations: 63.81 kB / 1.195 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3352, allocations: 151.5 kB / 1.195 GB, free: 3.5 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3352, allocations: 4 kB / 1.195 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3352, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3352, allocations: 4 kB / 1.195 GB, free: 3.492 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.0005471/0.3358, allocations: 365.5 kB / 1.195 GB, free: 3.09 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3358, allocations: 15.98 kB / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.3359, allocations: 8.891 kB / 1.195 GB, free: 3.066 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.336, allocations: 110.5 kB / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.336, allocations: 8.375 kB / 1.195 GB, free: 2.926 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3361, allocations: 16.36 kB / 1.195 GB, free: 2.91 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.3362, allocations: 42.25 kB / 1.195 GB, free: 2.863 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3362, allocations: 4.125 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3362, allocations: 11.94 kB / 1.195 GB, free: 2.848 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3362, allocations: 7.938 kB / 1.195 GB, free: 2.84 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.3363, allocations: 19.97 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.3368, allocations: 315.9 kB / 1.196 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.3369, allocations: 34.52 kB / 1.196 GB, free: 2.426 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.3369, allocations: 16.94 kB / 1.196 GB, free: 2.406 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.3369, allocations: 3.938 kB / 1.196 GB, free: 2.402 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.3371, allocations: 87.38 kB / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3371, allocations: 0 / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0002694/0.3374, allocations: 105.6 kB / 1.196 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3374, allocations: 63.33 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3376, allocations: 121.7 kB / 1.196 GB, free: 1.992 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3376, allocations: 29.7 kB / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.3377, allocations: 92.14 kB / 1.196 GB, free: 1.863 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3377, allocations: 19.89 kB / 1.196 GB, free: 1.844 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3378, allocations: 49.69 kB / 1.196 GB, free: 1.789 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3379, allocations: 314.8 kB / 1.197 GB, free: 1.473 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3381, allocations: 63.95 kB / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3383, allocations: 94.64 kB / 1.197 GB, free: 1.305 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.3385, allocations: 159.6 kB / 1.197 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3385, allocations: 0 / 1.197 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004799/0.3389, allocations: 273.2 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.339, allocations: 67.39 kB / 1.197 GB, free: 0.7578 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.339, allocations: 8.125 kB / 1.197 GB, free: 0.75 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.339, allocations: 0 / 1.197 GB, free: 0.75 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.627e-05/0.3391, allocations: 11.88 kB / 1.197 GB, free: 0.7383 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3391, allocations: 0 / 1.197 GB, free: 0.7383 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.3394, allocations: 51.94 kB / 1.197 GB, free: 0.6875 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3394, allocations: 11.98 kB / 1.197 GB, free: 0.6758 MB / 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.0001253/0.3396, allocations: 129.8 kB / 1.198 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.3396, allocations: 3.953 kB / 1.198 GB, free: 0.5352 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.3396, allocations: 12.38 kB / 1.198 GB, free: 0.5195 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3396, allocations: 3.984 kB / 1.198 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3396, allocations: 0 / 1.198 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3396, allocations: 0 / 1.198 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3398, allocations: 148.6 kB / 1.198 GB, free: 336 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3398, allocations: 0 / 1.198 GB, free: 336 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.3398, allocations: 11.94 kB / 1.198 GB, free: 324 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3398, allocations: 3.984 kB / 1.198 GB, free: 320 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3398, allocations: 4 kB / 1.198 GB, free: 316 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3398, allocations: 0 / 1.198 GB, free: 316 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3398, allocations: 0 / 1.198 GB, free: 316 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.34, allocations: 113 kB / 1.198 GB, free: 184 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.34, allocations: 7.953 kB / 1.198 GB, free: 176 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.34, allocations: 0 / 1.198 GB, free: 176 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.34, allocations: 0 / 1.198 GB, free: 176 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.3401, allocations: 11.98 kB / 1.198 GB, free: 164 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.3401, allocations: 8.062 kB / 1.198 GB, free: 156 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.3401, allocations: 91.27 kB / 1.198 GB, free: 64 kB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 0 / 1.198 GB, free: 64 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002383/0.3404, allocations: 31.94 kB / 1.198 GB, free: 32 kB / 0.8263 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.0001953/0.3406, allocations: 104.9 kB / 1.198 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.3409, allocations: 226.6 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3409, allocations: 256 / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.341, allocations: 24.67 kB / 1.198 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3413, allocations: 24.06 kB / 1.198 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.3417, allocations: 150.8 kB / 1.198 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.342, allocations: 0.6923 MB / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.342, allocations: 7.938 kB / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.3421, allocations: 15.44 kB / 1.199 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3421, allocations: 0 / 1.199 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.005293/0.3474, allocations: 1.886 MB / 1.201 GB, free: 12.86 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.343944750726223] Failed to read output from testmodel.py, exit status != 0: 0.3589893989264965 0.37174034199999995 0.033016087 Calling exit ...