Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.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.000737/0.000737, 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.0007603/0.0007603, allocations: 169.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.8685/0.8685, 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.03398/0.03398, allocations: 9.124 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.0003677/0.0003677, allocations: 31.95 kB / 328.7 MB, free: 5.781 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.467/1.467, allocations: 275 MB / 0.6476 GB, free: 2.84 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9295 GB, free: 20.8 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.797e-05, allocations: 3.266 kB / 0.9295 GB, free: 20.79 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001059/0.001077, allocations: 0.7164 MB / 0.9302 GB, free: 20.35 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.002003, allocations: 1.186 MB / 0.9313 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.002045, allocations: 0 / 0.9313 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.002068, allocations: 5.891 kB / 0.9313 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.002131, allocations: 14.56 kB / 0.9314 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.002489, allocations: 137.1 kB / 0.9315 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.002613, allocations: 117 kB / 0.9316 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.002692, allocations: 14.81 kB / 0.9316 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 9.932e-05/0.002791, allocations: 69.61 kB / 0.9317 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.002862, allocations: 36.98 kB / 0.9317 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.002885, allocations: 9.406 kB / 0.9317 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.002935, allocations: 19.17 kB / 0.9317 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.002955, allocations: 17.75 kB / 0.9318 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.003002, allocations: 34.97 kB / 0.9318 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.003162, allocations: 127.9 kB / 0.9319 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003164, allocations: 0 / 0.9319 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003164, allocations: 3.938 kB / 0.9319 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003168, allocations: 1.125 kB / 0.9319 GB, free: 19.23 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.0003911/0.003559, allocations: 337.4 kB / 0.9322 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.003593, allocations: 13.48 kB / 0.9323 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.003631, allocations: 10.41 kB / 0.9323 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.417e-05/0.003685, allocations: 121.8 kB / 0.9324 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003695, allocations: 8.688 kB / 0.9324 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.003713, allocations: 6.188 kB / 0.9324 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.00383, allocations: 67.95 kB / 0.9325 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003837, allocations: 4.125 kB / 0.9325 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.003847, allocations: 6.328 kB / 0.9325 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.003851, allocations: 4.312 kB / 0.9325 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.003947, allocations: 49.91 kB / 0.9325 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.004253, allocations: 256.6 kB / 0.9328 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.004362, allocations: 52.5 kB / 0.9328 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.004417, allocations: 34.52 kB / 0.9328 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.004428, allocations: 5.531 kB / 0.9329 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.004552, allocations: 95.56 kB / 0.9329 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.004553, allocations: 0 / 0.9329 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of matching and sorting (n=8): time 0.000263/0.004816, allocations: 137.7 kB / 0.9331 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.45e-05/0.00483, allocations: 57.91 kB / 0.9331 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/0.004883, allocations: 125.8 kB / 0.9332 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.004896, allocations: 28.08 kB / 0.9333 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.004926, allocations: 97.73 kB / 0.9334 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.004941, allocations: 20.12 kB / 0.9334 GB, free: 17.97 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.004988, allocations: 44.31 kB / 0.9334 GB, free: 17.94 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.961e-05/0.005018, allocations: 318.5 kB / 0.9337 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.005121, allocations: 90.52 kB / 0.9338 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.005226, allocations: 112.4 kB / 0.9339 GB, free: 17.48 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.005374, allocations: 138.3 kB / 0.9341 GB, free: 17.39 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005376, allocations: 0 / 0.9341 GB, free: 17.39 MB / 0.7293 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000254/0.00563, allocations: 247.8 kB / 0.9343 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.005652, allocations: 39.02 kB / 0.9343 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005657, allocations: 1.031 kB / 0.9343 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.005668, allocations: 1.781 kB / 0.9343 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.005721, allocations: 10.91 kB / 0.9343 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.00573, allocations: 3.141 kB / 0.9343 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.005838, allocations: 49.94 kB / 0.9344 GB, free: 17.18 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.005853, allocations: 7.625 kB / 0.9344 GB, free: 17.18 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 4.642e-05/0.005899, allocations: 123.2 kB / 0.9345 GB, free: 17.06 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.005906, allocations: 6.672 kB / 0.9345 GB, free: 17.06 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.005926, allocations: 14.92 kB / 0.9345 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00593, allocations: 1.688 kB / 0.9345 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00593, allocations: 0 / 0.9345 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.005937, allocations: 7.406 kB / 0.9346 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.00595, allocations: 6.359 kB / 0.9346 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.005975, allocations: 11.09 kB / 0.9346 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.006009, allocations: 5.922 kB / 0.9346 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001545/0.006164, allocations: 186.6 kB / 0.9348 GB, free: 16.91 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001508/0.006315, allocations: 281.4 kB / 0.935 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.978e-05/0.006374, allocations: 33.38 kB / 0.9351 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.006398, allocations: 97.05 kB / 0.9351 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of Backend: time 1.2e-07/0.006398, allocations: 1.406 kB / 0.9351 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.006749, allocations: 243.2 kB / 0.9354 GB, free: 16.41 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002941/0.007043, allocations: 0.601 MB / 0.936 GB, free: 15.8 MB / 0.7293 GB Notification: Performance of Templates: time 0.003039/0.01008, allocations: 1.704 MB / 0.9376 GB, free: 15.62 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.62884575035423] Failed to read output from testmodel.py, exit status != 0: 0.013777508400380611 0.021280978000000002 0.016589738 Calling exit ...