Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.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.04073/0.04073, allocations: 9.127 MB / 28.99 MB, free: 0.8086 MB / 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.0008389/0.0008389, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.001068/0.001068, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.9321/0.9321, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004355/0.004355, allocations: 0.8224 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.584/1.584, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/3.066e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.And): time 0.002207/0.002238, allocations: 0.6571 MB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.004435, allocations: 1.248 MB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.004492, allocations: 0 / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.004526, allocations: 7.938 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.004629, allocations: 11.92 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.005424, allocations: 211.4 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.005728, allocations: 175.7 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.005849, allocations: 11.97 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.006045, allocations: 95.86 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.006209, allocations: 47.92 kB / 0.6403 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.006241, allocations: 16 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.006326, allocations: 27.97 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.006353, allocations: 11.94 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.006406, allocations: 47.95 kB / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.006594, allocations: 139.6 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006597, allocations: 0 / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006598, allocations: 0 / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.006603, allocations: 0 / 0.6405 GB, free: 11.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003925/0.006996, allocations: 331.8 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.007033, allocations: 15.98 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.007072, allocations: 12.92 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.007169, allocations: 121.7 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.007183, allocations: 4.375 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.007204, allocations: 8.375 kB / 0.641 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.79e-05/0.007271, allocations: 50.23 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.007278, allocations: 192 / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.007285, allocations: 384 / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.007289, allocations: 384 / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.486e-05/0.007304, allocations: 11.94 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.007574, allocations: 176.2 kB / 0.6412 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.007634, allocations: 26.64 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.007649, allocations: 12.94 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.002e-06/0.007655, allocations: 0 / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.007759, allocations: 79.25 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.00776, allocations: 7.938 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001556/0.007916, allocations: 77.58 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.007958, allocations: 59.39 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.008045, allocations: 122.6 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.008076, allocations: 29.7 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.008126, allocations: 96.11 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.008141, allocations: 15.89 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.008205, allocations: 41.69 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.008307, allocations: 318.8 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.008396, allocations: 99.31 kB / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.00849, allocations: 139.7 kB / 0.6423 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.008599, allocations: 135.6 kB / 0.6424 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.008603, allocations: 4 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002231/0.008826, allocations: 260.3 kB / 0.6426 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.008874, allocations: 67.39 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.008882, allocations: 7.938 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.008898, allocations: 4.125 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.651e-05/0.008914, allocations: 4 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008919, allocations: 3.938 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.00908, allocations: 47.91 kB / 0.6428 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.0091, allocations: 4 kB / 0.6428 GB, free: 8.812 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 8.826e-05/0.009188, allocations: 121.8 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.009199, allocations: 4 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.009229, allocations: 20.38 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009231, allocations: 0 / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009233, allocations: 0 / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.009238, allocations: 3.984 kB / 0.6429 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.869e-05/0.009317, allocations: 73.83 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.00932, allocations: 4 kB / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.009325, allocations: 3.984 kB / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009328, allocations: 0 / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.009333, allocations: 0 / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009334, allocations: 0 / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.009336, allocations: 3.938 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.101e-05/0.009427, allocations: 89.05 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.009438, allocations: 7.953 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.009447, allocations: 3.938 kB / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.009461, allocations: 0 / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.009496, allocations: 11.92 kB / 0.6431 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.0095, allocations: 0 / 0.6431 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.445e-05/0.009525, allocations: 24.83 kB / 0.6431 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.009525, allocations: 0 / 0.6431 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001426/0.009667, allocations: 28 kB / 0.6432 GB, free: 8.367 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001538/0.009821, allocations: 88.41 kB / 0.6432 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.01004, allocations: 254.9 kB / 0.6435 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.01004, allocations: 4 kB / 0.6435 GB, free: 7.98 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.01007, allocations: 20.8 kB / 0.6435 GB, free: 7.957 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.01019, allocations: 19.92 kB / 0.6435 GB, free: 7.938 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.01045, allocations: 145.2 kB / 0.6437 GB, free: 7.766 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.01048, allocations: 59.59 kB / 0.6437 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.01051, allocations: 11.98 kB / 0.6437 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.01061, allocations: 75.34 kB / 0.6438 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of SimCode: time 6.01e-07/0.01061, allocations: 4 kB / 0.6438 GB, free: 7.598 MB / 0.6043 GB Notification: Performance of Templates: time 0.005397/0.01601, allocations: 2.225 MB / 0.646 GB, free: 5.371 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.275169193278998]