Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.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.0007401/0.0007401, allocations: 75.69 kB / 20.03 MB, free: 4.496 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.0007684/0.0007684, allocations: 169.3 kB / 23.33 MB, free: 1.191 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.8513/0.8513, 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.03449/0.03449, allocations: 9.125 MB / 269.2 MB, free: 4.438 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.0003847/0.0003847, allocations: 31.83 kB / 328.7 MB, free: 5.797 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.474/1.474, allocations: 274.9 MB / 0.6476 GB, free: 2.844 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.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 1.125 kB / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.605e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001123/0.001139, allocations: 0.733 MB / 0.9302 GB, free: 20.45 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002287, allocations: 1.386 MB / 0.9316 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.00234, allocations: 1.844 kB / 0.9316 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.002371, allocations: 9.984 kB / 0.9316 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.002436, allocations: 12.64 kB / 0.9316 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.002978, allocations: 322.4 kB / 0.9319 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.003238, allocations: 368.2 kB / 0.9322 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003352, allocations: 47.83 kB / 0.9323 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.00353, allocations: 227.8 kB / 0.9325 GB, free: 18.99 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.003673, allocations: 112.2 kB / 0.9326 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.003724, allocations: 35.66 kB / 0.9326 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.003798, allocations: 44.88 kB / 0.9327 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.003847, allocations: 71.27 kB / 0.9327 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.003942, allocations: 118.9 kB / 0.9329 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.004266, allocations: 409.9 kB / 0.9333 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004268, allocations: 1.469 kB / 0.9333 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00427, allocations: 4 kB / 0.9333 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004273, allocations: 0 / 0.9333 GB, free: 18.7 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004911/0.004764, allocations: 475.3 kB / 0.9337 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.004797, allocations: 14.25 kB / 0.9337 GB, free: 18.3 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.004861, allocations: 27.11 kB / 0.9338 GB, free: 18.3 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.005204, allocations: 209 kB / 0.934 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.00523, allocations: 20.62 kB / 0.934 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.005276, allocations: 37.38 kB / 0.934 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.005538, allocations: 216.2 kB / 0.9342 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.005547, allocations: 8.172 kB / 0.9342 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.005571, allocations: 16.11 kB / 0.9342 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.005577, allocations: 6.625 kB / 0.9342 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.005712, allocations: 96.55 kB / 0.9343 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.006191, allocations: 447.5 kB / 0.9348 GB, free: 17.69 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.006466, allocations: 200 kB / 0.935 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.006576, allocations: 94.42 kB / 0.935 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.006587, allocations: 2.469 kB / 0.935 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/0.00716, allocations: 0.548 MB / 0.9356 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=44): time 1.473e-06/0.007162, allocations: 0 / 0.9356 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of matching and sorting (n=44): time 0.0006835/0.007845, allocations: 0.5806 MB / 0.9361 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.007867, allocations: 57 kB / 0.9362 GB, free: 17.13 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.00795, allocations: 157.5 kB / 0.9363 GB, free: 17 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.007998, allocations: 63.8 kB / 0.9364 GB, free: 16.95 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.008046, allocations: 113 kB / 0.9365 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.008097, allocations: 104.9 kB / 0.9366 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.008219, allocations: 127.1 kB / 0.9367 GB, free: 16.71 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.008255, allocations: 341.5 kB / 0.9371 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.008491, allocations: 240.7 kB / 0.9373 GB, free: 16.25 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.008753, allocations: 350.7 kB / 0.9376 GB, free: 16 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.009022, allocations: 371.8 kB / 0.938 GB, free: 15.73 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.009025, allocations: 1.125 kB / 0.938 GB, free: 15.73 MB / 0.7293 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005463/0.009571, allocations: 0.6335 MB / 0.9386 GB, free: 15.38 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.009605, allocations: 70.42 kB / 0.9387 GB, free: 15.31 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009611, allocations: 2.75 kB / 0.9387 GB, free: 15.31 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.009627, allocations: 6.156 kB / 0.9387 GB, free: 15.31 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.009664, allocations: 27.12 kB / 0.9387 GB, free: 15.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.009675, allocations: 6.641 kB / 0.9387 GB, free: 15.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.009887, allocations: 81.72 kB / 0.9388 GB, free: 15.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.009921, allocations: 27.86 kB / 0.9388 GB, free: 15.27 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0001003/0.01002, allocations: 184.9 kB / 0.939 GB, free: 15.11 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.01005, allocations: 27.5 kB / 0.939 GB, free: 15.1 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.0101, allocations: 41.94 kB / 0.9391 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.0101, allocations: 2.719 kB / 0.9391 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.0101, allocations: 0 / 0.9391 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.01011, allocations: 15.11 kB / 0.9391 GB, free: 15.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.01016, allocations: 30.5 kB / 0.9391 GB, free: 15.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.0102, allocations: 19.2 kB / 0.9391 GB, free: 15.03 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.01033, allocations: 72.5 kB / 0.9392 GB, free: 15.01 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004444/0.01077, allocations: 0.5088 MB / 0.9397 GB, free: 14.76 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004835/0.01126, allocations: 0.61 MB / 0.9403 GB, free: 14.41 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001645/0.01142, allocations: 135.3 kB / 0.9404 GB, free: 14.36 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.01146, allocations: 103.2 kB / 0.9405 GB, free: 14.28 MB / 0.7293 GB Notification: Performance of Backend: time 3.31e-07/0.01146, allocations: 4 kB / 0.9405 GB, free: 14.27 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0006442/0.0121, allocations: 0.5312 MB / 0.941 GB, free: 13.92 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000489/0.01259, allocations: 0.7696 MB / 0.9418 GB, free: 13.24 MB / 0.7293 GB Notification: Performance of Templates: time 0.006607/0.0192, allocations: 5.212 MB / 0.9469 GB, free: 12.7 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.67718701902777] Failed to read output from testmodel.py, exit status != 0: 0.023388921283185482 0.031363663 0.025494058 Calling exit ...