Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007276/0.0007276, 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.0008072/0.0008072, 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.8564/0.8564, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.0345/0.0345, allocations: 9.123 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.0004069/0.0004069, allocations: 19.95 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.517/1.517, allocations: 275 MB / 0.6476 GB, free: 2.508 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9295 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.541e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00173/0.001755, allocations: 0.7235 MB / 0.9302 GB, free: 7.414 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.003184, allocations: 1.106 MB / 0.9313 GB, free: 6.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.003238, allocations: 4 kB / 0.9313 GB, free: 6.293 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.003267, allocations: 3.938 kB / 0.9313 GB, free: 6.289 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.003348, allocations: 16.36 kB / 0.9313 GB, free: 6.273 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.003652, allocations: 48.33 kB / 0.9313 GB, free: 6.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003763, allocations: 80.81 kB / 0.9314 GB, free: 6.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003866, allocations: 12.17 kB / 0.9314 GB, free: 6.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.003963, allocations: 43.91 kB / 0.9315 GB, free: 6.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.004023, allocations: 28.55 kB / 0.9315 GB, free: 6.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.004041, allocations: 4 kB / 0.9315 GB, free: 6.059 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-05/0.004102, allocations: 20.52 kB / 0.9315 GB, free: 6.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.004128, allocations: 22 kB / 0.9315 GB, free: 6.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.004165, allocations: 16 kB / 0.9316 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004316, allocations: 83.72 kB / 0.9316 GB, free: 5.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004318, allocations: 0 / 0.9316 GB, free: 5.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004319, allocations: 0 / 0.9316 GB, free: 5.922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.004322, allocations: 0 / 0.9316 GB, free: 5.922 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000473/0.004795, allocations: 310.5 kB / 0.9319 GB, free: 5.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.004837, allocations: 12.7 kB / 0.9319 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.004875, allocations: 8.891 kB / 0.932 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.781e-05/0.004973, allocations: 116.7 kB / 0.9321 GB, free: 5.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004984, allocations: 6.875 kB / 0.9321 GB, free: 5.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.005002, allocations: 8.375 kB / 0.9321 GB, free: 5.422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.005179, allocations: 70.2 kB / 0.9321 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005188, allocations: 192 / 0.9321 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.005198, allocations: 384 / 0.9321 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005203, allocations: 8.062 kB / 0.9322 GB, free: 5.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.005343, allocations: 48.95 kB / 0.9322 GB, free: 5.293 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.005836, allocations: 262.3 kB / 0.9324 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.005987, allocations: 54.58 kB / 0.9325 GB, free: 4.945 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.00606, allocations: 28.41 kB / 0.9325 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.006081, allocations: 3.938 kB / 0.9325 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.006233, allocations: 83.3 kB / 0.9326 GB, free: 4.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.006235, allocations: 0 / 0.9326 GB, free: 4.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003545/0.006589, allocations: 134.3 kB / 0.9327 GB, free: 4.684 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.006622, allocations: 59.34 kB / 0.9328 GB, free: 4.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.006831, allocations: 120.4 kB / 0.9329 GB, free: 4.488 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.006848, allocations: 33.7 kB / 0.9329 GB, free: 4.449 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.006899, allocations: 88.09 kB / 0.933 GB, free: 4.359 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.00692, allocations: 19.89 kB / 0.933 GB, free: 4.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.006968, allocations: 25.7 kB / 0.9331 GB, free: 4.309 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.007064, allocations: 318.8 kB / 0.9334 GB, free: 3.988 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.007155, allocations: 32.53 kB / 0.9334 GB, free: 3.957 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.007264, allocations: 70.7 kB / 0.9335 GB, free: 3.867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.007456, allocations: 112.7 kB / 0.9336 GB, free: 3.738 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007459, allocations: 3.438 kB / 0.9336 GB, free: 3.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002639/0.007723, allocations: 129.4 kB / 0.9337 GB, free: 3.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.007738, allocations: 8 kB / 0.9337 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007743, allocations: 0 / 0.9337 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.007758, allocations: 7.75 kB / 0.9337 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.007864, allocations: 19.98 kB / 0.9337 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.007875, allocations: 7.922 kB / 0.9337 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.007942, allocations: 15.88 kB / 0.9338 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.007954, allocations: 4 kB / 0.9338 GB, free: 3.547 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.673e-05/0.00803, allocations: 119.5 kB / 0.9339 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.008044, allocations: 11.89 kB / 0.9339 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.008069, allocations: 12.44 kB / 0.9339 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008073, allocations: 0.875 kB / 0.9339 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008074, allocations: 0 / 0.9339 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.008084, allocations: 7.953 kB / 0.9339 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.008098, allocations: 8.219 kB / 0.9339 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.008139, allocations: 11.98 kB / 0.9339 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.008179, allocations: 3.984 kB / 0.9339 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002479/0.008427, allocations: 192.8 kB / 0.9341 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002457/0.008673, allocations: 270.7 kB / 0.9344 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.258e-05/0.008755, allocations: 27.97 kB / 0.9344 GB, free: 2.863 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.008818, allocations: 102 kB / 0.9345 GB, free: 2.766 MB / 0.698 GB Notification: Performance of Backend: time 4.81e-07/0.008819, allocations: 0 / 0.9345 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.009169, allocations: 136.8 kB / 0.9346 GB, free: 2.629 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003989/0.009568, allocations: 0.5964 MB / 0.9352 GB, free: 1.984 MB / 0.698 GB Notification: Performance of Templates: time 0.002551/0.01212, allocations: 1.152 MB / 0.9363 GB, free: 0.8945 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.591785551048815] Failed to read output from testmodel.py, exit status != 0: 0.017972075380384922 0.024868963 0.018939014 Calling exit ...