Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.001565/0.001565, 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.00283/0.00283, allocations: 215.2 kB / 22.25 MB, free: 4.855 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.513/1.513, 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.06182/0.06182, allocations: 12.19 MB / 324.6 MB, free: 7.066 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.0008294/0.0008294, allocations: 30.42 kB / 384.1 MB, free: 47.51 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.599/2.599, allocations: 353.9 MB / 0.7787 GB, free: 1.797 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.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.003521/0.003521, allocations: 122.7 kB / 1.06 GB, free: 12.58 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3191, allocations: 134.9 MB / 1.192 GB, free: 5.789 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002293/0.3214, allocations: 0.7572 MB / 1.193 GB, free: 5.031 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3233, allocations: 1.184 MB / 1.194 GB, free: 3.836 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.3233, allocations: 0 / 1.194 GB, free: 3.836 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.3233, allocations: 3.938 kB / 1.194 GB, free: 3.832 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.3234, allocations: 23.84 kB / 1.194 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3239, allocations: 138.4 kB / 1.194 GB, free: 3.676 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3241, allocations: 123.8 kB / 1.194 GB, free: 3.555 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3242, allocations: 7.984 kB / 1.194 GB, free: 3.547 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3244, allocations: 55.89 kB / 1.194 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3245, allocations: 47.81 kB / 1.194 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3245, allocations: 12 kB / 1.195 GB, free: 3.434 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.3246, allocations: 16 kB / 1.195 GB, free: 3.418 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.3246, allocations: 27.91 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.3247, allocations: 35.91 kB / 1.195 GB, free: 3.355 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3249, allocations: 119.6 kB / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.3249, allocations: 0 / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3249, allocations: 0 / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3249, allocations: 0 / 1.195 GB, free: 3.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007688/0.3257, allocations: 351.6 kB / 1.195 GB, free: 2.855 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3258, allocations: 11.98 kB / 1.195 GB, free: 2.844 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.3258, allocations: 16.83 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3259, allocations: 121.6 kB / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.326, allocations: 4.375 kB / 1.195 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.326, allocations: 8.359 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3263, allocations: 78.19 kB / 1.195 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3263, allocations: 4.188 kB / 1.195 GB, free: 2.59 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3263, allocations: 11.88 kB / 1.195 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3263, allocations: 0 / 1.195 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.3266, allocations: 71.92 kB / 1.195 GB, free: 2.508 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.3272, allocations: 260.3 kB / 1.196 GB, free: 2.223 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.3274, allocations: 50.48 kB / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3275, allocations: 40.91 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3276, allocations: 0 / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.3279, allocations: 107.3 kB / 1.196 GB, free: 2.004 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3279, allocations: 4 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6): time 0.0006443/0.3285, allocations: 157.5 kB / 1.196 GB, free: 1.84 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3286, allocations: 51.41 kB / 1.196 GB, free: 1.777 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3287, allocations: 126.1 kB / 1.196 GB, free: 1.641 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3287, allocations: 33.7 kB / 1.196 GB, free: 1.602 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.3288, allocations: 88.14 kB / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3288, allocations: 23.84 kB / 1.196 GB, free: 1.488 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.3289, allocations: 29.78 kB / 1.196 GB, free: 1.453 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3291, allocations: 326.8 kB / 1.197 GB, free: 1.125 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.3294, allocations: 89.64 kB / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3296, allocations: 116.2 kB / 1.197 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.33, allocations: 144.2 kB / 1.197 GB, free: 0.7461 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3301, allocations: 3.938 kB / 1.197 GB, free: 0.7422 MB / 0.8263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005867/0.3306, allocations: 241 kB / 1.197 GB, free: 500 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.3307, allocations: 37.7 kB / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3307, allocations: 0 / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3307, allocations: 3.984 kB / 1.197 GB, free: 452 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3308, allocations: 19.92 kB / 1.197 GB, free: 432 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3309, allocations: 0 / 1.197 GB, free: 432 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3311, allocations: 47.88 kB / 1.197 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3311, allocations: 7.984 kB / 1.197 GB, free: 376 kB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001311/0.3313, allocations: 125.8 kB / 1.197 GB, free: 240 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.3313, allocations: 7.891 kB / 1.197 GB, free: 232 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.3313, allocations: 12.38 kB / 1.197 GB, free: 216 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3313, allocations: 0 / 1.197 GB, free: 216 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3313, allocations: 0 / 1.197 GB, free: 216 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3313, allocations: 0 / 1.197 GB, free: 216 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3315, allocations: 125.2 kB / 1.198 GB, free: 60 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3315, allocations: 0 / 1.198 GB, free: 60 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3316, allocations: 19.98 kB / 1.198 GB, free: 40 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3316, allocations: 96 / 1.198 GB, free: 40 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3316, allocations: 11.88 kB / 1.198 GB, free: 28 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3316, allocations: 7.984 kB / 1.198 GB, free: 20 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3316, allocations: 0 / 1.198 GB, free: 20 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.3321, allocations: 149.3 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.3321, allocations: 7.984 kB / 1.198 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3321, allocations: 4 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.3322, allocations: 15.98 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.3322, allocations: 7.969 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3322, allocations: 4 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.104e-05/0.3323, allocations: 99.27 kB / 1.198 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6e-08/0.3323, allocations: 0 / 1.198 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002284/0.3325, allocations: 23.95 kB / 1.198 GB, free: 15.7 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002012/0.3327, allocations: 103.2 kB / 1.198 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.3333, allocations: 208.9 kB / 1.198 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3333, allocations: 0 / 1.198 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3335, allocations: 47.91 kB / 1.198 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.3337, allocations: 21.61 kB / 1.198 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.3342, allocations: 162 kB / 1.198 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.3342, allocations: 71.33 kB / 1.198 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.3343, allocations: 7.75 kB / 1.198 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.3343, allocations: 15.44 kB / 1.198 GB, free: 15 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3343, allocations: 0 / 1.198 GB, free: 15 MB / 0.8419 GB Notification: Performance of Templates: time 0.00515/0.3395, allocations: 1.758 MB / 1.2 GB, free: 13.28 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.525774527341127] Failed to read output from testmodel.py, exit status != 0: 0.3490770310163498 0.36715234700000005 0.038836534000000006 Calling exit ...