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/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.05748/0.05748, allocations: 9.132 MB / 28.99 MB, free: 328 kB / 18.57 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/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.001125/0.001125, allocations: 95.27 kB / 35.33 MB, free: 0.9219 MB / 24.77 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.001451/0.001451, allocations: 169 kB / 38.73 MB, free: 2.398 MB / 24.77 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.9281/0.9281, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.007861/0.007861, allocations: 0.8258 MB / 276.5 MB, free: 0.7305 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.59/1.59, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 2.484e-06/2.484e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.55e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001858/0.001884, allocations: 0.762 MB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.003662, allocations: 1.314 MB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.003734, allocations: 4 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.003776, allocations: 15.8 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.003854, allocations: 11.88 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.004512, allocations: 251.4 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.004814, allocations: 255.6 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004949, allocations: 49.59 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.005147, allocations: 151.8 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.005302, allocations: 83.78 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.005337, allocations: 24 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.005414, allocations: 35.92 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.005453, allocations: 31.89 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.005531, allocations: 71.88 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.005771, allocations: 187.4 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005774, allocations: 0 / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.193e-06/0.005775, allocations: 0 / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.005778, allocations: 0 / 0.641 GB, free: 10.85 MB / 0.6043 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.0004821/0.00626, allocations: 395.5 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.006296, allocations: 11.98 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.006357, allocations: 32.91 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006541, allocations: 137.6 kB / 0.6416 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.006562, allocations: 16.36 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.006597, allocations: 16.38 kB / 0.6416 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.00674, allocations: 106.2 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.006748, allocations: 4.125 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006762, allocations: 4.359 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.006769, allocations: 4.375 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/0.006828, allocations: 39.86 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.007224, allocations: 267.8 kB / 0.642 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.007334, allocations: 66.53 kB / 0.6421 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.007362, allocations: 20.84 kB / 0.6421 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-06/0.007367, allocations: 4 kB / 0.6421 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.007534, allocations: 119.4 kB / 0.6422 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.007536, allocations: 0 / 0.6422 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16): time 0.0002177/0.007753, allocations: 138 kB / 0.6423 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.007792, allocations: 51.41 kB / 0.6424 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.00789, allocations: 154.5 kB / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.00792, allocations: 33.7 kB / 0.6426 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.007982, allocations: 104.5 kB / 0.6427 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.008008, allocations: 35.69 kB / 0.6427 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.008256, allocations: 73.62 kB / 0.6428 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.008343, allocations: 322.8 kB / 0.6431 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.008447, allocations: 99.38 kB / 0.6432 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.008575, allocations: 163 kB / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.008744, allocations: 199 kB / 0.6435 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008746, allocations: 4 kB / 0.6435 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002976/0.009044, allocations: 288.2 kB / 0.6438 GB, free: 7.711 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.0091, allocations: 75.64 kB / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009106, allocations: 0 / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.00912, allocations: 4 kB / 0.6439 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.009143, allocations: 11.94 kB / 0.6439 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009148, allocations: 4 kB / 0.6439 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.009363, allocations: 55.72 kB / 0.6439 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.009389, allocations: 12 kB / 0.644 GB, free: 7.539 MB / 0.6043 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,fal.y,tru.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 0.0001063/0.009495, allocations: 133.8 kB / 0.6441 GB, free: 7.398 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.009521, allocations: 15.98 kB / 0.6441 GB, free: 7.383 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.009556, allocations: 20.75 kB / 0.6441 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.009558, allocations: 0 / 0.6441 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.009561, allocations: 0 / 0.6441 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.009565, allocations: 3.938 kB / 0.6441 GB, free: 7.359 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.009831, allocations: 282.6 kB / 0.6444 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.009834, allocations: 4 kB / 0.6444 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-06/0.009843, allocations: 0 / 0.6444 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009846, allocations: 4 kB / 0.6444 GB, free: 7.051 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.009854, allocations: 4 kB / 0.6444 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009856, allocations: 0 / 0.6444 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.009859, allocations: 3.984 kB / 0.6444 GB, free: 7.043 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.01002, allocations: 203.4 kB / 0.6446 GB, free: 6.828 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.01003, allocations: 19.83 kB / 0.6446 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.01005, allocations: 4 kB / 0.6446 GB, free: 6.805 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.01011, allocations: 4 kB / 0.6446 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.01014, allocations: 15.91 kB / 0.6446 GB, free: 6.785 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01016, allocations: 15.98 kB / 0.6447 GB, free: 6.77 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.595e-05/0.01019, allocations: 21.34 kB / 0.6447 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01019, allocations: 0 / 0.6447 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003048/0.01049, allocations: 55.92 kB / 0.6447 GB, free: 6.691 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.01063, allocations: 88.41 kB / 0.6448 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.01093, allocations: 299.1 kB / 0.6451 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.01093, allocations: 0 / 0.6451 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.011, allocations: 52.72 kB / 0.6451 GB, free: 6.211 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01124, allocations: 28.47 kB / 0.6452 GB, free: 6.184 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.01164, allocations: 249.2 kB / 0.6454 GB, free: 5.914 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.01169, allocations: 67.84 kB / 0.6455 GB, free: 5.824 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.01173, allocations: 13.14 kB / 0.6455 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.01187, allocations: 87.34 kB / 0.6456 GB, free: 5.727 MB / 0.6043 GB Notification: Performance of SimCode: time 7.61e-07/0.01187, allocations: 3.938 kB / 0.6456 GB, free: 5.723 MB / 0.6043 GB Notification: Performance of Templates: time 0.005257/0.01712, allocations: 2.488 MB / 0.648 GB, free: 3.234 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.348984707146883]