Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.0006779/0.0006779, 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.0007457/0.0007457, 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.8333/0.8333, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.03464/0.03464, allocations: 9.122 MB / 269.2 MB, free: 4.445 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.0003646/0.0003646, allocations: 35.94 kB / 328.7 MB, free: 20.62 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.482/1.482, allocations: 275 MB / 0.6476 GB, free: 2.488 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.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.9295 GB, free: 8.133 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.848e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002042/0.00207, allocations: 1.078 MB / 0.9305 GB, free: 7.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.004732, allocations: 2.231 MB / 0.9327 GB, free: 4.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.004824, allocations: 4 kB / 0.9327 GB, free: 4.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.004872, allocations: 19.69 kB / 0.9327 GB, free: 4.805 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.00507, allocations: 109.3 kB / 0.9328 GB, free: 4.699 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.007549, allocations: 1.395 MB / 0.9342 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.008892, allocations: 1.217 MB / 0.9354 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.008953, allocations: 16.92 kB / 0.9354 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.009587, allocations: 0.6531 MB / 0.936 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.0101, allocations: 362.6 kB / 0.9364 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.01026, allocations: 108 kB / 0.9365 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.01046, allocations: 111.9 kB / 0.9366 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.01052, allocations: 63.8 kB / 0.9367 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.01087, allocations: 352.1 kB / 0.937 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01191, allocations: 1.19 MB / 0.9382 GB, free: 15.32 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01191, allocations: 0 / 0.9382 GB, free: 15.32 MB / 0.7137 GB Notification: Performance of FrontEnd: time 1.293e-06/0.01191, allocations: 0 / 0.9382 GB, free: 15.32 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01192, allocations: 0 / 0.9382 GB, free: 15.32 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001179/0.01309, allocations: 1.104 MB / 0.9392 GB, free: 14.08 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01314, allocations: 13.48 kB / 0.9393 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.01334, allocations: 64.75 kB / 0.9393 GB, free: 14.01 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.01347, allocations: 162 kB / 0.9395 GB, free: 13.82 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.01352, allocations: 44.36 kB / 0.9395 GB, free: 13.78 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.01367, allocations: 64.95 kB / 0.9396 GB, free: 13.72 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.01395, allocations: 218.6 kB / 0.9398 GB, free: 13.46 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01396, allocations: 4.188 kB / 0.9398 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.01397, allocations: 6.188 kB / 0.9398 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.01398, allocations: 4.359 kB / 0.9398 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.0141, allocations: 71.72 kB / 0.9399 GB, free: 13.38 MB / 0.7137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.01478, allocations: 0.5908 MB / 0.9404 GB, free: 12.71 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.01506, allocations: 319.2 kB / 0.9407 GB, free: 12.27 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01521, allocations: 128.9 kB / 0.9409 GB, free: 12.09 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.01523, allocations: 15.92 kB / 0.9409 GB, free: 12.08 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007908/0.01602, allocations: 467 kB / 0.9413 GB, free: 11.55 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=45): time 2.294e-06/0.01602, allocations: 3.938 kB / 0.9413 GB, free: 11.55 MB / 0.7137 GB Notification: Performance of matching and sorting (n=45): time 0.001022/0.01704, allocations: 0.5736 MB / 0.9419 GB, free: 10.97 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.0172, allocations: 431.2 kB / 0.9423 GB, free: 10.45 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.01753, allocations: 308.3 kB / 0.9426 GB, free: 10.14 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.01782, allocations: 61.7 kB / 0.9427 GB, free: 10.08 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.01805, allocations: 165.3 kB / 0.9428 GB, free: 9.914 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.01818, allocations: 103.4 kB / 0.9429 GB, free: 9.812 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.01854, allocations: 270 kB / 0.9432 GB, free: 9.543 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.01863, allocations: 346.8 kB / 0.9435 GB, free: 9.195 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/0.0194, allocations: 0.8659 MB / 0.9443 GB, free: 8.238 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.0203, allocations: 1.149 MB / 0.9455 GB, free: 6.859 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.02115, allocations: 1.191 MB / 0.9466 GB, free: 5.438 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.02116, allocations: 4 kB / 0.9466 GB, free: 5.434 MB / 0.7137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002069/0.02323, allocations: 2.203 MB / 0.9488 GB, free: 3.039 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.0234, allocations: 473.4 kB / 0.9492 GB, free: 2.484 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.02342, allocations: 8 kB / 0.9492 GB, free: 2.477 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.02344, allocations: 16 kB / 0.9493 GB, free: 2.461 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.02348, allocations: 35.8 kB / 0.9493 GB, free: 2.426 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.0235, allocations: 23.86 kB / 0.9493 GB, free: 2.402 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.02456, allocations: 411.5 kB / 0.9497 GB, free: 2 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.02467, allocations: 91.92 kB / 0.9498 GB, free: 1.91 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002278/0.0249, allocations: 225.5 kB / 0.95 GB, free: 1.684 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.02495, allocations: 39.77 kB / 0.9501 GB, free: 1.645 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.025, allocations: 38.23 kB / 0.9501 GB, free: 1.602 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.025, allocations: 7.984 kB / 0.9501 GB, free: 1.594 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.025, allocations: 4 kB / 0.9501 GB, free: 1.59 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.02504, allocations: 47.66 kB / 0.9501 GB, free: 1.543 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.02507, allocations: 19.98 kB / 0.9502 GB, free: 1.523 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.02541, allocations: 11.98 kB / 0.9502 GB, free: 1.512 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.02548, allocations: 63.8 kB / 0.9502 GB, free: 1.449 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006272/0.0261, allocations: 1.538 MB / 0.9517 GB, free: 15.89 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006568/0.02676, allocations: 1.609 MB / 0.9533 GB, free: 14.26 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001466/0.02691, allocations: 124.2 kB / 0.9534 GB, free: 14.14 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0001046/0.02701, allocations: 191.1 kB / 0.9536 GB, free: 13.96 MB / 0.7293 GB Notification: Performance of Backend: time 4.61e-07/0.02701, allocations: 0 / 0.9536 GB, free: 13.96 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.02917, allocations: 1.985 MB / 0.9555 GB, free: 11.69 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0008957/0.03007, allocations: 0.9986 MB / 0.9565 GB, free: 10.64 MB / 0.7293 GB Notification: Performance of Templates: time 0.01239/0.04245, allocations: 13.64 MB / 0.9698 GB, free: 13.37 MB / 0.7449 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.775681661441922] Failed to read output from testmodel.py, exit status != 0: 0.048776027746498585 0.055744769000000007 0.042183443 Calling exit ...