Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.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.001377/0.001377, 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.00176/0.00176, allocations: 216.9 kB / 23 MB, free: 2.988 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.047/1.047, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.03906/0.03906, allocations: 12.19 MB / 325.4 MB, free: 6.105 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.0005634/0.0005634, allocations: 35.86 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 1.812/1.812, allocations: 353.8 MB / 0.7794 GB, free: 4.559 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") [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.001663/0.001663, allocations: 121.2 kB / 1.061 GB, free: 24.42 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3147, allocations: 134.9 MB / 1.193 GB, free: 6.988 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001941/0.3167, allocations: 0.6738 MB / 1.194 GB, free: 6.316 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3183, allocations: 1.297 MB / 1.195 GB, free: 5.008 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.3184, allocations: 4 kB / 1.195 GB, free: 5.004 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.801e-05/0.3185, allocations: 7.875 kB / 1.195 GB, free: 4.996 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3186, allocations: 15.86 kB / 1.195 GB, free: 4.98 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.3193, allocations: 312.5 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.3196, allocations: 267.5 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3198, allocations: 8.188 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3199, allocations: 103.9 kB / 1.196 GB, free: 4.312 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3201, allocations: 79.73 kB / 1.196 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.3201, allocations: 24 kB / 1.196 GB, free: 4.211 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.3202, allocations: 32 kB / 1.196 GB, free: 4.18 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.3202, allocations: 15.92 kB / 1.196 GB, free: 4.164 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.3203, allocations: 79.86 kB / 1.196 GB, free: 4.086 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3206, allocations: 219.3 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3206, allocations: 4 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.614e-06/0.3206, allocations: 4 kB / 1.196 GB, free: 3.863 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3206, allocations: 3.938 kB / 1.196 GB, free: 3.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006372/0.3213, allocations: 411.2 kB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3213, allocations: 8.031 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.3214, allocations: 20.88 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3215, allocations: 122.4 kB / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3216, allocations: 12.38 kB / 1.197 GB, free: 3.227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3216, allocations: 12.38 kB / 1.197 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.3217, allocations: 57.98 kB / 1.197 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3217, allocations: 4 kB / 1.197 GB, free: 3.148 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3218, allocations: 3.984 kB / 1.197 GB, free: 3.145 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3218, allocations: 4 kB / 1.197 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.3218, allocations: 20 kB / 1.197 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.3224, allocations: 328.2 kB / 1.197 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.3224, allocations: 30.56 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.3225, allocations: 16.86 kB / 1.197 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3225, allocations: 3.984 kB / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.3227, allocations: 103.4 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 3.807e-06/0.3227, allocations: 4 kB / 1.197 GB, free: 2.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0003248/0.3231, allocations: 137.5 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.3231, allocations: 59.41 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3232, allocations: 132.3 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3233, allocations: 37.7 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.3234, allocations: 100.1 kB / 1.198 GB, free: 2.098 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3234, allocations: 15.91 kB / 1.198 GB, free: 2.082 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.3235, allocations: 65.67 kB / 1.198 GB, free: 2.012 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3236, allocations: 326.8 kB / 1.198 GB, free: 1.684 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3238, allocations: 177 kB / 1.198 GB, free: 1.492 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.324, allocations: 232.9 kB / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3242, allocations: 241.8 kB / 1.199 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3242, allocations: 0 / 1.199 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005343/0.3247, allocations: 479.5 kB / 1.199 GB, free: 452 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.3248, allocations: 98.34 kB / 1.199 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3248, allocations: 8.125 kB / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3249, allocations: 4 kB / 1.199 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.468e-05/0.3249, allocations: 11.92 kB / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3249, allocations: 4 kB / 1.199 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.3252, allocations: 75.84 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.3253, allocations: 19.98 kB / 1.199 GB, free: 212 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001369/0.3254, allocations: 140.1 kB / 1.199 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.3254, allocations: 7.953 kB / 1.199 GB, free: 56 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.3255, allocations: 12.36 kB / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3255, allocations: 0 / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3255, allocations: 0 / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3255, allocations: 0 / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3257, allocations: 141.2 kB / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3257, allocations: 0 / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.3257, allocations: 0 / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3257, allocations: 0 / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3257, allocations: 8 kB / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3257, allocations: 0 / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3257, allocations: 0 / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3259, allocations: 148.9 kB / 1.2 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.3259, allocations: 7.891 kB / 1.2 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3259, allocations: 4 kB / 1.2 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.3259, allocations: 11.98 kB / 1.2 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.326, allocations: 7.984 kB / 1.2 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.326, allocations: 8 kB / 1.2 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.486e-05/0.3261, allocations: 95.27 kB / 1.2 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.3261, allocations: 0 / 1.2 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002002/0.3263, allocations: 44 kB / 1.2 GB, free: 15.52 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001805/0.3264, allocations: 103.2 kB / 1.2 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.3269, allocations: 415.2 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.3269, allocations: 0 / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.3269, allocations: 39.95 kB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3272, allocations: 37.92 kB / 1.2 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.3277, allocations: 220.7 kB / 1.201 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.3278, allocations: 75.89 kB / 1.201 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.3278, allocations: 11.44 kB / 1.201 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of SimCode: time 9.21e-07/0.3278, allocations: 0 / 1.201 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of Templates: time 0.003628/0.3314, allocations: 1.908 MB / 1.203 GB, free: 12.63 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.953926186077297] Failed to read output from testmodel.py, exit status != 0: 0.33961670100688934 0.35017652200000005 0.027415440000000003 Calling exit ...