Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.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.0008082/0.0008082, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.0007775/0.0007775, allocations: 165.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.8388/0.8388, allocations: 177.1 MB / 203.6 MB, free: 5.707 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.03454/0.03454, allocations: 9.121 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.0003745/0.0003745, allocations: 23.97 kB / 328.7 MB, free: 20.58 MB / 266.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.472/1.472, allocations: 275 MB / 0.6476 GB, free: 2.484 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 2.078 kB / 0.9295 GB, free: 8.094 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.256e-05, allocations: 8.953 kB / 0.9295 GB, free: 8.086 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.And): time 0.001057/0.00108, allocations: 0.6312 MB / 0.9301 GB, free: 7.473 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002355, allocations: 1.226 MB / 0.9313 GB, free: 6.234 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.002397, allocations: 4 kB / 0.9313 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.002423, allocations: 9.234 kB / 0.9313 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.002488, allocations: 11.88 kB / 0.9313 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.002931, allocations: 218.4 kB / 0.9315 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003087, allocations: 177.5 kB / 0.9317 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.003167, allocations: 4 kB / 0.9317 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.683e-05/0.003264, allocations: 95.91 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.003359, allocations: 51.84 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.003384, allocations: 18.09 kB / 0.9319 GB, free: 5.668 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-05/0.003439, allocations: 24 kB / 0.9319 GB, free: 5.645 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.003461, allocations: 11.98 kB / 0.9319 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.003517, allocations: 55.89 kB / 0.9319 GB, free: 5.578 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.003685, allocations: 179.6 kB / 0.9321 GB, free: 5.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003687, allocations: 0 / 0.9321 GB, free: 5.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003688, allocations: 1.969 kB / 0.9321 GB, free: 5.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003691, allocations: 0 / 0.9321 GB, free: 5.402 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003665/0.004058, allocations: 357.5 kB / 0.9325 GB, free: 5.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.004091, allocations: 11.98 kB / 0.9325 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.004132, allocations: 8.938 kB / 0.9325 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.004204, allocations: 119.2 kB / 0.9326 GB, free: 4.848 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004216, allocations: 12.31 kB / 0.9326 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.004238, allocations: 16.31 kB / 0.9326 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.004323, allocations: 42.25 kB / 0.9327 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.00433, allocations: 1.656 kB / 0.9327 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004339, allocations: 4.359 kB / 0.9327 GB, free: 4.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.004343, allocations: 384 / 0.9327 GB, free: 4.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.004374, allocations: 15.94 kB / 0.9327 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.004681, allocations: 273.6 kB / 0.9329 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.004738, allocations: 34.5 kB / 0.933 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.004759, allocations: 13.42 kB / 0.933 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.004768, allocations: 0 / 0.933 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.004869, allocations: 96.03 kB / 0.9331 GB, free: 4.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004871, allocations: 1.281 kB / 0.9331 GB, free: 4.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000186/0.005057, allocations: 105.6 kB / 0.9332 GB, free: 4.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.005081, allocations: 59.39 kB / 0.9332 GB, free: 4.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.005145, allocations: 115.4 kB / 0.9333 GB, free: 3.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.005164, allocations: 29.7 kB / 0.9334 GB, free: 3.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.005206, allocations: 96.12 kB / 0.9335 GB, free: 3.859 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.005217, allocations: 11.89 kB / 0.9335 GB, free: 3.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.005273, allocations: 53.69 kB / 0.9335 GB, free: 3.789 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.005343, allocations: 311.5 kB / 0.9338 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.005449, allocations: 123.9 kB / 0.9339 GB, free: 3.344 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.005563, allocations: 157.9 kB / 0.9341 GB, free: 3.164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.005686, allocations: 162.5 kB / 0.9342 GB, free: 2.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005688, allocations: 0 / 0.9342 GB, free: 2.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000281/0.005969, allocations: 333.5 kB / 0.9346 GB, free: 2.625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.006007, allocations: 67.39 kB / 0.9346 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.006012, allocations: 0 / 0.9346 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.006024, allocations: 7.688 kB / 0.9346 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.006041, allocations: 3.984 kB / 0.9346 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.00605, allocations: 7.938 kB / 0.9346 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.006233, allocations: 59.83 kB / 0.9347 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.006253, allocations: 11.98 kB / 0.9347 GB, free: 2.461 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * 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 6.41e-05/0.006317, allocations: 123.3 kB / 0.9348 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.006326, allocations: 7.938 kB / 0.9348 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.006345, allocations: 8.438 kB / 0.9349 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006348, allocations: 0 / 0.9349 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006349, allocations: 2.875 kB / 0.9349 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.006356, allocations: 7.953 kB / 0.9349 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006368, allocations: 3.984 kB / 0.9349 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.006377, allocations: 0 / 0.9349 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.006411, allocations: 11.98 kB / 0.9349 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.962e-05/0.0065, allocations: 156.9 kB / 0.935 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001123/0.006613, allocations: 262.6 kB / 0.9353 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.526e-05/0.006638, allocations: 15.98 kB / 0.9353 GB, free: 1.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.006668, allocations: 87.41 kB / 0.9354 GB, free: 1.754 MB / 0.698 GB Notification: Performance of Backend: time 2.3e-07/0.006668, allocations: 4 kB / 0.9354 GB, free: 1.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.007071, allocations: 336.5 kB / 0.9357 GB, free: 1.379 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003912/0.007462, allocations: 0.6083 MB / 0.9363 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of Templates: time 0.003191/0.01065, allocations: 2.101 MB / 0.9383 GB, free: 14.69 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5585966082289815] Failed to read output from testmodel.py, exit status != 0: 0.01463828794658184 0.024207549000000002 0.018228459000000002 Calling exit ...