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.0008428/0.0008428, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.0008641/0.0008641, allocations: 210.4 kB / 22.99 MB, free: 2.977 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 1.005/1.005, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.03775/0.03775, allocations: 12.19 MB / 325.4 MB, free: 6.09 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.0006097/0.0006097, allocations: 23.94 kB / 384.8 MB, free: 10.52 MB / 314.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 2.033/2.033, allocations: 353.8 MB / 0.7794 GB, free: 4.578 MB / 0.5105 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.00149/0.00149, allocations: 122.9 kB / 1.061 GB, free: 24.46 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2778, allocations: 134.9 MB / 1.193 GB, free: 7.012 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001589/0.2794, allocations: 0.6309 MB / 1.194 GB, free: 6.383 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2807, allocations: 1.223 MB / 1.195 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.2808, allocations: 4 kB / 1.195 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.2808, allocations: 3.938 kB / 1.195 GB, free: 5.141 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.2809, allocations: 15.91 kB / 1.195 GB, free: 5.125 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.2814, allocations: 218.3 kB / 1.195 GB, free: 4.918 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.2816, allocations: 179.6 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2818, allocations: 8 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.2819, allocations: 71.94 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.282, allocations: 59.72 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.282, allocations: 16 kB / 1.195 GB, free: 4.59 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.2821, allocations: 27.98 kB / 1.195 GB, free: 4.562 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.2821, allocations: 8 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.2822, allocations: 55.88 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.2824, allocations: 151.5 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2824, allocations: 0 / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2824, allocations: 0 / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.2824, allocations: 0 / 1.195 GB, free: 4.352 MB / 0.823 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.0005592/0.283, allocations: 361.5 kB / 1.196 GB, free: 3.953 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.283, allocations: 16.03 kB / 1.196 GB, free: 3.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.2831, allocations: 8.891 kB / 1.196 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2832, allocations: 114.4 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2832, allocations: 12.38 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2832, allocations: 12.36 kB / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.2834, allocations: 46.25 kB / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2834, allocations: 192 / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2834, allocations: 3.938 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2834, allocations: 4 kB / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.2834, allocations: 15.98 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.2839, allocations: 276.5 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.284, allocations: 34.56 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.284, allocations: 16.8 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.284, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.2842, allocations: 87.39 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2842, allocations: 3.938 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002415/0.2844, allocations: 105.6 kB / 1.197 GB, free: 3.121 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2844, allocations: 51.41 kB / 1.197 GB, free: 3.059 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.2845, allocations: 129.7 kB / 1.197 GB, free: 2.922 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2846, allocations: 29.7 kB / 1.197 GB, free: 2.887 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2846, allocations: 100.1 kB / 1.197 GB, free: 2.785 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.2846, allocations: 11.91 kB / 1.197 GB, free: 2.773 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.2847, allocations: 49.69 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.2848, allocations: 318.8 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2849, allocations: 119.4 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.285, allocations: 155.6 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2852, allocations: 163.5 kB / 1.198 GB, free: 1.902 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2852, allocations: 8 kB / 1.198 GB, free: 1.895 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003139/0.2855, allocations: 324.2 kB / 1.198 GB, free: 1.547 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.2856, allocations: 73.58 kB / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2856, allocations: 0 / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2856, allocations: 0 / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.2856, allocations: 4 kB / 1.198 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2856, allocations: 0 / 1.198 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2858, allocations: 52.06 kB / 1.198 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.2858, allocations: 19.98 kB / 1.198 GB, free: 1.391 MB / 0.823 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.013e-05/0.2859, allocations: 127.2 kB / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.2859, allocations: 3.953 kB / 1.198 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.286, allocations: 12.38 kB / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.286, allocations: 0 / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.286, allocations: 4.062 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.286, allocations: 3.984 kB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.052e-05/0.2861, allocations: 129.6 kB / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2861, allocations: 4 kB / 1.198 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-06/0.2861, allocations: 0 / 1.198 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2861, allocations: 4 kB / 1.198 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2861, allocations: 0 / 1.198 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.2861, allocations: 3.938 kB / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2861, allocations: 3.938 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.2862, allocations: 116.9 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-06/0.2862, allocations: 7.953 kB / 1.199 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2862, allocations: 3.984 kB / 1.199 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.2862, allocations: 0 / 1.199 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.2863, allocations: 11.98 kB / 1.199 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2863, allocations: 8 kB / 1.199 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.2863, allocations: 87.28 kB / 1.199 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2863, allocations: 0 / 1.199 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001584/0.2865, allocations: 35.98 kB / 1.199 GB, free: 0.7734 MB / 0.823 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.0001436/0.2866, allocations: 99.19 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.2869, allocations: 282.1 kB / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2869, allocations: 0 / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.2869, allocations: 32.16 kB / 1.199 GB, free: 332 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2871, allocations: 23.92 kB / 1.199 GB, free: 308 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.2875, allocations: 180.5 kB / 1.199 GB, free: 92 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.998e-05/0.2875, allocations: 67.59 kB / 1.199 GB, free: 4 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.2876, allocations: 15.42 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of SimCode: time 6.42e-07/0.2876, allocations: 0 / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of Templates: time 0.002633/0.2902, allocations: 1.419 MB / 1.201 GB, free: 14.59 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: 8.094382219947875] Failed to read output from testmodel.py, exit status != 0: 0.29651910066604614 0.304967139 0.020829969 Calling exit ...