Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.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.0007279/0.0007279, 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.000754/0.000754, allocations: 165.7 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.9643/0.9643, 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.03408/0.03408, allocations: 9.13 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.0003725/0.0003725, allocations: 27.95 kB / 328.7 MB, free: 5.801 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.523/1.523, allocations: 275 MB / 0.6476 GB, free: 2.895 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9295 GB, free: 20.75 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.328e-05, allocations: 9.312 kB / 0.9295 GB, free: 20.75 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001305/0.001329, allocations: 0.7306 MB / 0.9302 GB, free: 20.3 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.002547, allocations: 1.278 MB / 0.9315 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.002609, allocations: 1.156 kB / 0.9315 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.002643, allocations: 15.23 kB / 0.9315 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.002714, allocations: 23.36 kB / 0.9315 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.003292, allocations: 251 kB / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.003526, allocations: 260.8 kB / 0.932 GB, free: 19.11 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003652, allocations: 48.77 kB / 0.932 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.003793, allocations: 145 kB / 0.9322 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.003922, allocations: 80.19 kB / 0.9322 GB, free: 19 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.003959, allocations: 29.75 kB / 0.9323 GB, free: 19 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.36e-05/0.004033, allocations: 33.84 kB / 0.9323 GB, free: 19 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.004067, allocations: 35.72 kB / 0.9323 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.004144, allocations: 85.22 kB / 0.9324 GB, free: 18.93 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.00444, allocations: 286.1 kB / 0.9327 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004442, allocations: 0 / 0.9327 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004443, allocations: 0 / 0.9327 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004447, allocations: 3.938 kB / 0.9327 GB, free: 18.82 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004465/0.004894, allocations: 423 kB / 0.9331 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.004931, allocations: 11.98 kB / 0.9331 GB, free: 18.44 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.004986, allocations: 22.23 kB / 0.9331 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.005329, allocations: 183.8 kB / 0.9333 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.005346, allocations: 14.84 kB / 0.9333 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.005379, allocations: 21.38 kB / 0.9333 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.005555, allocations: 127 kB / 0.9335 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.005563, allocations: 192 / 0.9335 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.005577, allocations: 11.97 kB / 0.9335 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005584, allocations: 10.34 kB / 0.9335 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.00568, allocations: 69.25 kB / 0.9335 GB, free: 18.17 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.006067, allocations: 355.7 kB / 0.9339 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.006201, allocations: 87.06 kB / 0.934 GB, free: 17.85 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.006242, allocations: 37.09 kB / 0.934 GB, free: 17.83 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.006251, allocations: 1.156 kB / 0.934 GB, free: 17.83 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.006435, allocations: 131 kB / 0.9341 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.006437, allocations: 0 / 0.9341 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.000335/0.006772, allocations: 249.8 kB / 0.9344 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.006795, allocations: 58.64 kB / 0.9344 GB, free: 17.6 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.006871, allocations: 138 kB / 0.9346 GB, free: 17.48 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.006893, allocations: 34.64 kB / 0.9346 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.006937, allocations: 115.7 kB / 0.9347 GB, free: 17.34 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.006953, allocations: 27.89 kB / 0.9347 GB, free: 17.32 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.007028, allocations: 69.53 kB / 0.9348 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.00706, allocations: 324.8 kB / 0.9351 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.007198, allocations: 130.7 kB / 0.9352 GB, free: 16.88 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.007327, allocations: 187.2 kB / 0.9354 GB, free: 16.71 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.007484, allocations: 222.8 kB / 0.9356 GB, free: 16.52 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.007487, allocations: 1.656 kB / 0.9356 GB, free: 16.52 MB / 0.7293 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003659/0.007853, allocations: 374.2 kB / 0.936 GB, free: 16.29 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.007897, allocations: 67.02 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.007905, allocations: 2.609 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.007923, allocations: 3.438 kB / 0.936 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.007946, allocations: 13.36 kB / 0.9361 GB, free: 16.21 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.007959, allocations: 4.109 kB / 0.9361 GB, free: 16.21 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.008168, allocations: 65.14 kB / 0.9361 GB, free: 16.2 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.008192, allocations: 18.5 kB / 0.9361 GB, free: 16.19 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 7.931e-05/0.008271, allocations: 136.9 kB / 0.9363 GB, free: 16.06 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.008286, allocations: 11.3 kB / 0.9363 GB, free: 16.06 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.008314, allocations: 11.47 kB / 0.9363 GB, free: 16.05 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008319, allocations: 6.734 kB / 0.9363 GB, free: 16.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.00832, allocations: 3.938 kB / 0.9363 GB, free: 16.04 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008331, allocations: 7.391 kB / 0.9363 GB, free: 16.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.008345, allocations: 4.078 kB / 0.9363 GB, free: 16.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.008362, allocations: 7.406 kB / 0.9363 GB, free: 16.03 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.008411, allocations: 15.66 kB / 0.9363 GB, free: 16.03 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000196/0.008607, allocations: 266 kB / 0.9366 GB, free: 15.88 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002011/0.008808, allocations: 378.9 kB / 0.937 GB, free: 15.61 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.021e-05/0.008868, allocations: 45.17 kB / 0.937 GB, free: 15.6 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.008898, allocations: 101 kB / 0.9371 GB, free: 15.52 MB / 0.7293 GB Notification: Performance of Backend: time 2.4e-07/0.008898, allocations: 1.062 kB / 0.9371 GB, free: 15.52 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.009361, allocations: 365 kB / 0.9374 GB, free: 15.22 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003963/0.009757, allocations: 0.6801 MB / 0.9381 GB, free: 14.58 MB / 0.7293 GB Notification: Performance of Templates: time 0.004823/0.01458, allocations: 2.476 MB / 0.9405 GB, free: 14.3 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8393587144091725] Failed to read output from testmodel.py, exit status != 0: 0.019342434592545033 0.030417634000000002 0.022442712 Calling exit ...