Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.0007369/0.0007369, 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.000728/0.000728, 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.8521/0.8521, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03409/0.03409, allocations: 9.128 MB / 269.2 MB, free: 4.43 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.0005213/0.0005213, allocations: 27.95 kB / 328.7 MB, free: 20.6 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.474/1.474, allocations: 275 MB / 0.6476 GB, free: 2.48 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.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9295 GB, free: 8.148 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.064e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.145 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001435/0.001455, allocations: 1.012 MB / 0.9305 GB, free: 7.145 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.003156, allocations: 1.628 MB / 0.932 GB, free: 5.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.003251, allocations: 4.781 kB / 0.9321 GB, free: 5.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.003365, allocations: 19.73 kB / 0.9321 GB, free: 5.477 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.003464, allocations: 53.7 kB / 0.9321 GB, free: 5.426 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.003863, allocations: 221.3 kB / 0.9323 GB, free: 5.215 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004091, allocations: 331.3 kB / 0.9326 GB, free: 4.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.004218, allocations: 59.06 kB / 0.9327 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.004384, allocations: 191.6 kB / 0.9329 GB, free: 4.645 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004488, allocations: 92.83 kB / 0.933 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.004525, allocations: 32 kB / 0.933 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.004598, allocations: 52.64 kB / 0.9331 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.00464, allocations: 55.81 kB / 0.9331 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.00472, allocations: 88.41 kB / 0.9332 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.005016, allocations: 394.8 kB / 0.9336 GB, free: 3.945 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005018, allocations: 2.562 kB / 0.9336 GB, free: 3.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005019, allocations: 0 / 0.9336 GB, free: 3.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.005023, allocations: 0 / 0.9336 GB, free: 3.945 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000647/0.005669, allocations: 491.7 kB / 0.934 GB, free: 3.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.005707, allocations: 12.48 kB / 0.9341 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.005768, allocations: 25.41 kB / 0.9341 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.006023, allocations: 214.7 kB / 0.9343 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.006044, allocations: 21.69 kB / 0.9343 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.006075, allocations: 20.38 kB / 0.9343 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.006317, allocations: 184.8 kB / 0.9345 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.006325, allocations: 192 / 0.9345 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.006343, allocations: 15.8 kB / 0.9345 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.006348, allocations: 7.938 kB / 0.9345 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.006535, allocations: 124.8 kB / 0.9346 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.00712, allocations: 0.5117 MB / 0.9351 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.007404, allocations: 167.5 kB / 0.9353 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.007515, allocations: 76.19 kB / 0.9354 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.007536, allocations: 4 kB / 0.9354 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.007773, allocations: 206.9 kB / 0.9356 GB, free: 1.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.614e-06/0.007775, allocations: 0 / 0.9356 GB, free: 1.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0004585/0.008233, allocations: 326.7 kB / 0.9359 GB, free: 1.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.008261, allocations: 63.89 kB / 0.9359 GB, free: 1.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.008372, allocations: 174.3 kB / 0.9361 GB, free: 1.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.008403, allocations: 42.41 kB / 0.9362 GB, free: 1.164 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.008462, allocations: 124.7 kB / 0.9363 GB, free: 1.039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.008505, allocations: 64.78 kB / 0.9363 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.008586, allocations: 77.67 kB / 0.9364 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.008662, allocations: 326.8 kB / 0.9367 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.008805, allocations: 130.7 kB / 0.9368 GB, free: 444 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.008963, allocations: 199.5 kB / 0.937 GB, free: 216 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.009169, allocations: 213.5 kB / 0.9372 GB, free: 15.98 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009171, allocations: 3.875 kB / 0.9372 GB, free: 15.98 MB / 0.7137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003583/0.00953, allocations: 364.9 kB / 0.9376 GB, free: 15.61 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.009558, allocations: 41.69 kB / 0.9376 GB, free: 15.56 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.009564, allocations: 3.938 kB / 0.9376 GB, free: 15.56 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.009576, allocations: 4 kB / 0.9376 GB, free: 15.55 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.009643, allocations: 23.92 kB / 0.9377 GB, free: 15.53 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.009651, allocations: 4 kB / 0.9377 GB, free: 15.53 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.009784, allocations: 59.31 kB / 0.9377 GB, free: 15.47 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.009802, allocations: 15.94 kB / 0.9377 GB, free: 15.46 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 0.000103/0.009905, allocations: 158.5 kB / 0.9379 GB, free: 15.3 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.009924, allocations: 19.91 kB / 0.9379 GB, free: 15.28 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.01025, allocations: 272.3 kB / 0.9382 GB, free: 15.01 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01026, allocations: 4.641 kB / 0.9382 GB, free: 15.01 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01026, allocations: 4 kB / 0.9382 GB, free: 15 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.01028, allocations: 23.89 kB / 0.9382 GB, free: 14.98 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.01031, allocations: 12 kB / 0.9382 GB, free: 14.97 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.01036, allocations: 15.97 kB / 0.9382 GB, free: 14.95 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.01043, allocations: 27.95 kB / 0.9383 GB, free: 14.93 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003007/0.01073, allocations: 342 kB / 0.9386 GB, free: 14.59 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005586/0.01129, allocations: 440.5 kB / 0.939 GB, free: 14.14 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001141/0.0114, allocations: 92.11 kB / 0.9391 GB, free: 14.05 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.01147, allocations: 132.2 kB / 0.9392 GB, free: 13.92 MB / 0.7137 GB Notification: Performance of Backend: time 2.41e-07/0.01147, allocations: 3.938 kB / 0.9392 GB, free: 13.92 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.01194, allocations: 319.3 kB / 0.9395 GB, free: 13.58 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0005427/0.01248, allocations: 0.7622 MB / 0.9403 GB, free: 12.77 MB / 0.7137 GB Notification: Performance of Templates: time 0.004723/0.0172, allocations: 3.781 MB / 0.944 GB, free: 9.074 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6230957088992] Failed to read output from testmodel.py, exit status != 0: 0.02189838606864214 0.029841562000000002 0.023280888000000003 Calling exit ...