Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.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.0007822/0.0007822, allocations: 79.69 kB / 20.02 MB, free: 4.352 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.0007712/0.0007712, allocations: 165.3 kB / 23.33 MB, free: 1.047 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.8569/0.8569, allocations: 177.1 MB / 203.7 MB, free: 5.727 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.0341/0.0341, allocations: 9.128 MB / 269.2 MB, free: 4.449 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.0003665/0.0003665, allocations: 27.91 kB / 328.7 MB, free: 20.61 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.546/1.546, allocations: 275 MB / 0.6476 GB, free: 2.5 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9295 GB, free: 8.121 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.975e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.117 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Or): time 0.001114/0.001133, allocations: 0.6242 MB / 0.9301 GB, free: 7.508 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.002202, allocations: 1.233 MB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.002243, allocations: 0.5625 kB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.002268, allocations: 5.75 kB / 0.9313 GB, free: 6.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.002333, allocations: 11.88 kB / 0.9313 GB, free: 6.246 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.002778, allocations: 220.7 kB / 0.9315 GB, free: 6.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.002934, allocations: 171.7 kB / 0.9317 GB, free: 5.871 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.003017, allocations: 11.98 kB / 0.9317 GB, free: 5.859 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.003122, allocations: 95.86 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.003219, allocations: 47.91 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.003243, allocations: 17.81 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.003301, allocations: 31.98 kB / 0.9319 GB, free: 5.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.003319, allocations: 3.938 kB / 0.9319 GB, free: 5.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.003377, allocations: 55.94 kB / 0.9319 GB, free: 5.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.003549, allocations: 180.2 kB / 0.9321 GB, free: 5.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003551, allocations: 0 / 0.9321 GB, free: 5.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003552, allocations: 1.5 kB / 0.9321 GB, free: 5.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.003555, allocations: 0 / 0.9321 GB, free: 5.438 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.0003818/0.003937, allocations: 361.5 kB / 0.9325 GB, free: 5.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.003974, allocations: 11.98 kB / 0.9325 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.00402, allocations: 10.56 kB / 0.9325 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.004102, allocations: 117.6 kB / 0.9326 GB, free: 4.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.004113, allocations: 4.375 kB / 0.9326 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.004136, allocations: 16.31 kB / 0.9326 GB, free: 4.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.004227, allocations: 51.17 kB / 0.9327 GB, free: 4.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004235, allocations: 4.188 kB / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004242, allocations: 384 / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004248, allocations: 0.9375 kB / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.00428, allocations: 20.61 kB / 0.9327 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.004593, allocations: 268.5 kB / 0.9329 GB, free: 4.488 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.698e-05/0.00465, allocations: 31.8 kB / 0.933 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.004672, allocations: 20.94 kB / 0.933 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.004681, allocations: 0 / 0.933 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.004781, allocations: 88.81 kB / 0.9331 GB, free: 4.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004782, allocations: 0 / 0.9331 GB, free: 4.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.004971, allocations: 105.6 kB / 0.9332 GB, free: 4.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.004997, allocations: 59.41 kB / 0.9332 GB, free: 4.148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.005064, allocations: 114.6 kB / 0.9333 GB, free: 4.027 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.005086, allocations: 33.69 kB / 0.9334 GB, free: 3.988 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.00513, allocations: 96.62 kB / 0.9335 GB, free: 3.891 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.005141, allocations: 12.62 kB / 0.9335 GB, free: 3.879 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.005201, allocations: 45.69 kB / 0.9335 GB, free: 3.828 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.005274, allocations: 324.6 kB / 0.9338 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.005386, allocations: 119.4 kB / 0.9339 GB, free: 3.375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.005503, allocations: 154 kB / 0.9341 GB, free: 3.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.005625, allocations: 161.4 kB / 0.9342 GB, free: 3.016 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005628, allocations: 0 / 0.9342 GB, free: 3.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002888/0.005916, allocations: 339.8 kB / 0.9346 GB, free: 2.656 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.005954, allocations: 67.39 kB / 0.9346 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.005962, allocations: 4 kB / 0.9346 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005973, allocations: 0 / 0.9346 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/0.005988, allocations: 4 kB / 0.9346 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.005996, allocations: 0 / 0.9346 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.006186, allocations: 61.55 kB / 0.9347 GB, free: 2.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.006205, allocations: 11.98 kB / 0.9347 GB, free: 2.5 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,or1.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.787e-05/0.006273, allocations: 128.5 kB / 0.9348 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.00628, allocations: 3.938 kB / 0.9348 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.006303, allocations: 16.42 kB / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006306, allocations: 0 / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006307, allocations: 0 / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.006314, allocations: 3.953 kB / 0.9349 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.006324, allocations: 4 kB / 0.9349 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.006334, allocations: 0 / 0.9349 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.00637, allocations: 16.11 kB / 0.9349 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.352e-05/0.006463, allocations: 152.9 kB / 0.935 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001149/0.006578, allocations: 254.7 kB / 0.9353 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.824e-05/0.006606, allocations: 23.98 kB / 0.9353 GB, free: 1.875 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.006639, allocations: 91.27 kB / 0.9354 GB, free: 1.785 MB / 0.698 GB Notification: Performance of Backend: time 4.01e-07/0.006639, allocations: 0 / 0.9354 GB, free: 1.785 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.007098, allocations: 337.4 kB / 0.9357 GB, free: 1.414 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004333/0.007531, allocations: 0.6088 MB / 0.9363 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of Templates: time 0.003444/0.01098, allocations: 2.105 MB / 0.9383 GB, free: 14.72 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.755863389000297] Failed to read output from testmodel.py, exit status != 0: 0.015354076400399208 0.025200988 0.019943654 Calling exit ...