Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.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.001868/0.001868, 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.002444/0.002444, allocations: 213.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.462/1.462, 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.06842/0.06842, allocations: 12.19 MB / 324.6 MB, free: 7.078 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.001066/0.001066, allocations: 28.44 kB / 384.1 MB, free: 47.54 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.543/2.543, allocations: 353.9 MB / 0.7787 GB, free: 1.801 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") [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.003545/0.003545, allocations: 132.5 kB / 1.06 GB, free: 12.58 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3031, allocations: 134.9 MB / 1.192 GB, free: 5.793 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002107/0.3052, allocations: 0.6216 MB / 1.193 GB, free: 5.172 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3071, allocations: 1.223 MB / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.3071, allocations: 0 / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.3072, allocations: 3.938 kB / 1.194 GB, free: 3.934 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.3073, allocations: 23.86 kB / 1.194 GB, free: 3.91 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.308, allocations: 215.8 kB / 1.194 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3083, allocations: 167.7 kB / 1.194 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3084, allocations: 15.97 kB / 1.194 GB, free: 3.527 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3085, allocations: 63.91 kB / 1.194 GB, free: 3.465 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3086, allocations: 51.84 kB / 1.195 GB, free: 3.414 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.3087, allocations: 20 kB / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.3087, allocations: 27.98 kB / 1.195 GB, free: 3.367 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3088, allocations: 11.92 kB / 1.195 GB, free: 3.355 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.938e-05/0.3089, allocations: 59.83 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3091, allocations: 147.6 kB / 1.195 GB, free: 3.152 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3091, allocations: 0 / 1.195 GB, free: 3.152 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3091, allocations: 0 / 1.195 GB, free: 3.152 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3091, allocations: 0 / 1.195 GB, free: 3.152 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.0005864/0.3097, allocations: 361.5 kB / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3097, allocations: 15.98 kB / 1.195 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.3098, allocations: 12.89 kB / 1.195 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3099, allocations: 118.4 kB / 1.195 GB, free: 2.586 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3099, allocations: 12.36 kB / 1.195 GB, free: 2.574 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.31, allocations: 12.38 kB / 1.195 GB, free: 2.562 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3101, allocations: 50.17 kB / 1.195 GB, free: 2.508 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3101, allocations: 192 / 1.195 GB, free: 2.508 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3101, allocations: 3.938 kB / 1.195 GB, free: 2.504 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3101, allocations: 4 kB / 1.195 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.3102, allocations: 15.98 kB / 1.195 GB, free: 2.484 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.3106, allocations: 264.5 kB / 1.196 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/0.3107, allocations: 30.52 kB / 1.196 GB, free: 2.156 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.3108, allocations: 28.81 kB / 1.196 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.3108, allocations: 4 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.311, allocations: 79.38 kB / 1.196 GB, free: 2.031 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.311, allocations: 0 / 1.196 GB, free: 2.031 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0002772/0.3112, allocations: 105.6 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3113, allocations: 55.34 kB / 1.196 GB, free: 1.855 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3114, allocations: 129.7 kB / 1.196 GB, free: 1.719 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.3115, allocations: 33.7 kB / 1.196 GB, free: 1.68 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.3115, allocations: 88.14 kB / 1.196 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.3116, allocations: 7.906 kB / 1.196 GB, free: 1.582 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3117, allocations: 53.69 kB / 1.196 GB, free: 1.523 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3119, allocations: 322.8 kB / 1.196 GB, free: 1.199 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3121, allocations: 119.4 kB / 1.197 GB, free: 1.07 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3123, allocations: 151.7 kB / 1.197 GB, free: 0.8945 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3125, allocations: 164 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3125, allocations: 0 / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005068/0.313, allocations: 332.2 kB / 1.197 GB, free: 360 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.3131, allocations: 67.39 kB / 1.197 GB, free: 280 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3131, allocations: 0 / 1.197 GB, free: 280 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3131, allocations: 4 kB / 1.197 GB, free: 276 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.151e-05/0.3131, allocations: 3.938 kB / 1.197 GB, free: 272 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3131, allocations: 4 kB / 1.197 GB, free: 268 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.3135, allocations: 47.94 kB / 1.197 GB, free: 220 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.3135, allocations: 20.11 kB / 1.197 GB, free: 200 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,nor1.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.0001367/0.3136, allocations: 122.7 kB / 1.197 GB, free: 68 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.3137, allocations: 7.953 kB / 1.197 GB, free: 60 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.3137, allocations: 12.36 kB / 1.197 GB, free: 44 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3137, allocations: 4 kB / 1.197 GB, free: 40 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3137, allocations: 0 / 1.197 GB, free: 40 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3137, allocations: 0 / 1.197 GB, free: 40 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3139, allocations: 121.2 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3139, allocations: 4 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.3139, allocations: 7.938 kB / 1.198 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3139, allocations: 4 kB / 1.198 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3139, allocations: 7.922 kB / 1.198 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3139, allocations: 4 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3139, allocations: 0 / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3141, allocations: 113 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.3141, allocations: 3.953 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3141, allocations: 4 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.3141, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3142, allocations: 7.984 kB / 1.198 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3142, allocations: 4.062 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.3142, allocations: 99.14 kB / 1.198 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3142, allocations: 4 kB / 1.198 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002359/0.3145, allocations: 28 kB / 1.198 GB, free: 15.59 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,nor1.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.0001501/0.3146, allocations: 99.25 kB / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.3151, allocations: 286.1 kB / 1.198 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3151, allocations: 0 / 1.198 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.3151, allocations: 19.98 kB / 1.198 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.3154, allocations: 24.17 kB / 1.198 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.3158, allocations: 155.3 kB / 1.198 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.491e-05/0.3158, allocations: 68.97 kB / 1.199 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3159, allocations: 7.984 kB / 1.199 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.3159, allocations: 15.44 kB / 1.199 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3159, allocations: 0 / 1.199 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.005612/0.3215, allocations: 2.083 MB / 1.201 GB, free: 12.81 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.621916513890028] Failed to read output from testmodel.py, exit status != 0: 0.3303118385374546 0.34566048599999993 0.033172761 Calling exit ...