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.0007735/0.0007735, allocations: 79.69 kB / 20.03 MB, free: 4.488 MB / 18.57 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.0007987/0.0007987, allocations: 165.3 kB / 23.33 MB, free: 1.188 MB / 18.57 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 0.856/0.856, allocations: 177.1 MB / 203.6 MB, free: 5.711 MB / 186.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.03508/0.03508, allocations: 9.14 MB / 269.2 MB, free: 4.434 MB / 250.7 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/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.0003763/0.0003763, allocations: 31.94 kB / 328.7 MB, free: 5.785 MB / 298.7 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/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.54/1.54, allocations: 275 MB / 0.6476 GB, free: 2.824 MB / 0.4949 GB [/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 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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.072e-05, allocations: 5.234 kB / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001136/0.001156, allocations: 0.668 MB / 0.9301 GB, free: 20.49 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.002343, allocations: 1.309 MB / 0.9314 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.002396, allocations: 1.625 kB / 0.9314 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.002424, allocations: 4.594 kB / 0.9314 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.002505, allocations: 21.22 kB / 0.9314 GB, free: 19.52 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.003095, allocations: 310.6 kB / 0.9317 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.003333, allocations: 256.9 kB / 0.932 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003439, allocations: 19.72 kB / 0.932 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.003572, allocations: 138 kB / 0.9321 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.003696, allocations: 83.27 kB / 0.9322 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.003731, allocations: 21.72 kB / 0.9322 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.003794, allocations: 31.53 kB / 0.9323 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.003817, allocations: 20.36 kB / 0.9323 GB, free: 19.15 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.003889, allocations: 73.48 kB / 0.9323 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.004133, allocations: 269.4 kB / 0.9326 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004135, allocations: 0 / 0.9326 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004136, allocations: 1.062 kB / 0.9326 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.004139, allocations: 0 / 0.9326 GB, free: 19.02 MB / 0.7293 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.0003616/0.004501, allocations: 420.1 kB / 0.933 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.004534, allocations: 13.14 kB / 0.933 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.004583, allocations: 19.86 kB / 0.933 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.004641, allocations: 116 kB / 0.9331 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.00466, allocations: 7.609 kB / 0.9332 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.004688, allocations: 19.09 kB / 0.9332 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.614e-05/0.004774, allocations: 55.48 kB / 0.9332 GB, free: 18.44 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004781, allocations: 4.172 kB / 0.9332 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.00479, allocations: 2.203 kB / 0.9332 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004794, allocations: 5.219 kB / 0.9332 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.004831, allocations: 29 kB / 0.9333 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.005157, allocations: 317.5 kB / 0.9336 GB, free: 18.17 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.005199, allocations: 32.52 kB / 0.9336 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.005223, allocations: 17.45 kB / 0.9336 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.005232, allocations: 2.188 kB / 0.9336 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.005345, allocations: 110 kB / 0.9337 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.005346, allocations: 0 / 0.9337 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of matching and sorting (n=10): time 0.0002216/0.005568, allocations: 137.9 kB / 0.9339 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.005587, allocations: 58.94 kB / 0.9339 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.00565, allocations: 128.1 kB / 0.934 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.005672, allocations: 34.58 kB / 0.9341 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.005708, allocations: 98.64 kB / 0.9342 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.005722, allocations: 29.3 kB / 0.9342 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.005796, allocations: 66.09 kB / 0.9343 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.81e-05/0.005824, allocations: 320.7 kB / 0.9346 GB, free: 17.33 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.00597, allocations: 181.6 kB / 0.9347 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.00612, allocations: 231.6 kB / 0.935 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.006276, allocations: 233.1 kB / 0.9352 GB, free: 16.81 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006279, allocations: 6.25 kB / 0.9352 GB, free: 16.81 MB / 0.7293 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003889/0.006668, allocations: 475.8 kB / 0.9356 GB, free: 16.49 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.006703, allocations: 97.12 kB / 0.9357 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.006708, allocations: 1.469 kB / 0.9357 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.006721, allocations: 2.844 kB / 0.9357 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.604e-05/0.006737, allocations: 4.531 kB / 0.9357 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.006745, allocations: 3.344 kB / 0.9357 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.007005, allocations: 88 kB / 0.9358 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.007032, allocations: 17.02 kB / 0.9358 GB, free: 16.38 MB / 0.7293 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 5.829e-05/0.007091, allocations: 136.5 kB / 0.936 GB, free: 16.25 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.007101, allocations: 12.16 kB / 0.936 GB, free: 16.24 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.00712, allocations: 15.72 kB / 0.936 GB, free: 16.23 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007123, allocations: 4.609 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007125, allocations: 0.7031 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.007132, allocations: 7.922 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.007144, allocations: 2.906 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.285e-05/0.007157, allocations: 4.516 kB / 0.936 GB, free: 16.21 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.00719, allocations: 11.81 kB / 0.936 GB, free: 16.21 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001084/0.007298, allocations: 184.5 kB / 0.9362 GB, free: 16.08 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001221/0.00742, allocations: 287.6 kB / 0.9365 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.293e-05/0.007463, allocations: 26.36 kB / 0.9365 GB, free: 15.83 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.007497, allocations: 98.91 kB / 0.9366 GB, free: 15.75 MB / 0.7293 GB Notification: Performance of Backend: time 1.5e-07/0.007498, allocations: 0 / 0.9366 GB, free: 15.75 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.008049, allocations: 474.1 kB / 0.937 GB, free: 15.35 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0004562/0.008505, allocations: 0.6348 MB / 0.9377 GB, free: 14.73 MB / 0.7293 GB Notification: Performance of Templates: time 0.004932/0.01344, allocations: 2.991 MB / 0.9406 GB, free: 14.39 MB / 0.7293 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: 4.742247423157096] Failed to read output from testmodel.py, exit status != 0: 0.017935565672814846 0.025890764 0.020189586000000002 Calling exit ...