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/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.04266/0.04266, allocations: 9.13 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008876/0.0008876, allocations: 101.9 kB / 35.34 MB, free: 1.078 MB / 24.77 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.001225/0.001225, allocations: 164.1 kB / 38.73 MB, free: 2.492 MB / 24.77 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.013/1.013, allocations: 177.1 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006887/0.006887, allocations: 0.822 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.66/1.66, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.395e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001931/0.001955, allocations: 0.7885 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.003621, allocations: 1.205 MB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.003674, allocations: 0 / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.003708, allocations: 11.88 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.0038, allocations: 19.86 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.004291, allocations: 127.6 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.004495, allocations: 139.7 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.004581, allocations: 11.95 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.004723, allocations: 71.92 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.00482, allocations: 43.88 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.004849, allocations: 12 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.004914, allocations: 20 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.004943, allocations: 19.91 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.005143, allocations: 35.97 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.005329, allocations: 95.75 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005332, allocations: 0 / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005334, allocations: 0 / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.279e-06/0.005338, allocations: 3.938 kB / 0.6404 GB, free: 11.46 MB / 0.6043 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.0004564/0.005794, allocations: 318 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.005837, allocations: 15.98 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.005878, allocations: 8.922 kB / 0.6408 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.005976, allocations: 117.8 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.00599, allocations: 384 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.006014, allocations: 12.36 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.006164, allocations: 74.92 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006173, allocations: 192 / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.006182, allocations: 384 / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006188, allocations: 384 / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.006226, allocations: 23.8 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.00656, allocations: 184.2 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.006619, allocations: 30.58 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.006641, allocations: 8.859 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.006659, allocations: 0 / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.006766, allocations: 71.47 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006767, allocations: 0 / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001566/0.006924, allocations: 61.61 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.006961, allocations: 55.41 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.007053, allocations: 130.7 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.007075, allocations: 25.7 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.007122, allocations: 88.12 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.007145, allocations: 19.84 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.00721, allocations: 37.69 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.007304, allocations: 318.8 kB / 0.642 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.007375, allocations: 53.69 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.007448, allocations: 72.23 kB / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.007543, allocations: 76.25 kB / 0.6422 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.007546, allocations: 3.938 kB / 0.6422 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001846/0.00773, allocations: 153 kB / 0.6423 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.007764, allocations: 33.7 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.00777, allocations: 8 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.007784, allocations: 0 / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.007873, allocations: 19.98 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007877, allocations: 0 / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.008006, allocations: 28.22 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.008025, allocations: 4 kB / 0.6424 GB, free: 9.23 MB / 0.6043 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 8.354e-05/0.008109, allocations: 117.8 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.008125, allocations: 8 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.008156, allocations: 20.38 kB / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008158, allocations: 0 / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00816, allocations: 0 / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.008164, allocations: 0 / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.008259, allocations: 77.88 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008261, allocations: 3.938 kB / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.008312, allocations: 15.92 kB / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008315, allocations: 0 / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.008321, allocations: 0 / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008323, allocations: 0 / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.008325, allocations: 3.938 kB / 0.6426 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.008437, allocations: 89.09 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.008447, allocations: 3.953 kB / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.008461, allocations: 3.984 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.008498, allocations: 8 kB / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.008535, allocations: 11.92 kB / 0.6428 GB, free: 8.828 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.008541, allocations: 0 / 0.6428 GB, free: 8.828 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.008567, allocations: 20.84 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008567, allocations: 3.938 kB / 0.6428 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002169/0.008784, allocations: 24 kB / 0.6428 GB, free: 8.777 MB / 0.6043 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.0001553/0.008939, allocations: 88.39 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.00912, allocations: 133.9 kB / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.009123, allocations: 0 / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.009164, allocations: 24.8 kB / 0.643 GB, free: 8.504 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.0093, allocations: 16.33 kB / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.009621, allocations: 168.5 kB / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.009657, allocations: 59.34 kB / 0.6433 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.00969, allocations: 4 kB / 0.6433 GB, free: 8.215 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.009793, allocations: 71.33 kB / 0.6433 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of SimCode: time 7.92e-07/0.009794, allocations: 0 / 0.6433 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of Templates: time 0.004482/0.01428, allocations: 1.755 MB / 0.6451 GB, free: 6.391 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3883176520466805]