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.0007228/0.0007228, allocations: 115 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.0008966/0.0008966, allocations: 203.2 kB / 23 MB, free: 3.113 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.8871/0.8871, allocations: 230.6 MB / 256.8 MB, free: 3.488 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.03637/0.03637, allocations: 12.18 MB / 325.4 MB, free: 3.445 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.000482/0.000482, allocations: 28.89 kB / 384.9 MB, free: 45.84 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.624/1.624, allocations: 353.8 MB / 0.7794 GB, free: 13.08 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.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.00232/0.00232, allocations: 111 kB / 1.061 GB, free: 9.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2103, allocations: 134.9 MB / 1.193 GB, free: 2.637 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001454/0.2118, allocations: 0.6372 MB / 1.194 GB, free: 2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2129, allocations: 1.255 MB / 1.195 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.213, allocations: 0 / 1.195 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.213, allocations: 3.938 kB / 1.195 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.2131, allocations: 19.86 kB / 1.195 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.2136, allocations: 209.4 kB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.2138, allocations: 187.6 kB / 1.195 GB, free: 336 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.2139, allocations: 4 kB / 1.195 GB, free: 332 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.214, allocations: 67.94 kB / 1.195 GB, free: 264 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2141, allocations: 67.78 kB / 1.195 GB, free: 196 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.2141, allocations: 16 kB / 1.195 GB, free: 180 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.552e-05/0.2142, allocations: 27.98 kB / 1.195 GB, free: 152 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2142, allocations: 8 kB / 1.195 GB, free: 144 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.2143, allocations: 63.81 kB / 1.195 GB, free: 80 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.2144, allocations: 151.5 kB / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2144, allocations: 0 / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2144, allocations: 4 kB / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2145, allocations: 0 / 1.196 GB, free: 15.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004284/0.2149, allocations: 365.5 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2149, allocations: 15.98 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.215, allocations: 12.89 kB / 1.196 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.215, allocations: 110.5 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2151, allocations: 4.375 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2151, allocations: 16.36 kB / 1.196 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.2152, allocations: 42.25 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2152, allocations: 4.188 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2152, allocations: 7.938 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2152, allocations: 0 / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.2152, allocations: 23.92 kB / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.2156, allocations: 319.9 kB / 1.197 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.203e-05/0.2157, allocations: 34.52 kB / 1.197 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.2157, allocations: 16.94 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2157, allocations: 11.94 kB / 1.197 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.2159, allocations: 79.31 kB / 1.197 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2159, allocations: 0 / 1.197 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.000204/0.2161, allocations: 101.6 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2161, allocations: 55.39 kB / 1.197 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2163, allocations: 121.7 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2163, allocations: 37.64 kB / 1.197 GB, free: 14.4 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.2163, allocations: 100.1 kB / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.2163, allocations: 11.89 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.2164, allocations: 49.69 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.2165, allocations: 318.8 kB / 1.197 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.2166, allocations: 63.95 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2167, allocations: 92.27 kB / 1.198 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2168, allocations: 159.6 kB / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2168, allocations: 0 / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002879/0.2171, allocations: 265.3 kB / 1.198 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.2171, allocations: 75.52 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2171, allocations: 0 / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2172, allocations: 0 / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.049e-05/0.2172, allocations: 11.88 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2172, allocations: 3.938 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2174, allocations: 47.94 kB / 1.198 GB, free: 13.13 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.2174, allocations: 19.98 kB / 1.198 GB, free: 13.11 MB / 0.8387 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 8.245e-05/0.2175, allocations: 126.7 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.2175, allocations: 11.94 kB / 1.198 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.2175, allocations: 8.375 kB / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2175, allocations: 0 / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2175, allocations: 3.984 kB / 1.198 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2175, allocations: 0 / 1.198 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.284e-05/0.2176, allocations: 156.7 kB / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2176, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-06/0.2176, allocations: 4 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2176, allocations: 7.984 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2176, allocations: 3.938 kB / 1.198 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2176, allocations: 0 / 1.198 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2176, allocations: 4 kB / 1.198 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.2177, allocations: 109 kB / 1.199 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.2177, allocations: 7.953 kB / 1.199 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.2178, allocations: 4 kB / 1.199 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.2178, allocations: 0 / 1.199 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.2178, allocations: 11.98 kB / 1.199 GB, free: 12.59 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2178, allocations: 4 kB / 1.199 GB, free: 12.59 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.2179, allocations: 91.27 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2179, allocations: 0 / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000166/0.218, allocations: 32 kB / 1.199 GB, free: 12.46 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: 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.0001186/0.2181, allocations: 105.5 kB / 1.199 GB, free: 12.36 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2184, allocations: 222.6 kB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2184, allocations: 4.25 kB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.2184, allocations: 24.38 kB / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2186, allocations: 23.31 kB / 1.199 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.2189, allocations: 184.5 kB / 1.199 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.2191, allocations: 0.6885 MB / 1.2 GB, free: 11.14 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.2191, allocations: 19.38 kB / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of SimCode: time 8.01e-07/0.2191, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of Templates: time 0.002206/0.2213, allocations: 1.397 MB / 1.201 GB, free: 9.742 MB / 0.8387 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: 6.687174786813557] Failed to read output from testmodel.py, exit status != 0: 0.22817124240100384 0.23648806100000003 0.020199024000000003 Calling exit ...