Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.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.04204/0.04204, allocations: 9.131 MB / 28.99 MB, free: 0.8125 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.0008931/0.0008931, 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.001067/0.001067, allocations: 166.7 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.9752/0.9752, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004186/0.004186, allocations: 0.8254 MB / 276.5 MB, free: 0.7617 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.626/1.626, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.482e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Or): time 0.001201/0.001216, allocations: 0.6963 MB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002317, allocations: 1.256 MB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.002354, allocations: 0 / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.002377, allocations: 7.938 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.002437, allocations: 7.922 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.002833, allocations: 211.4 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.002992, allocations: 175.6 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.003053, allocations: 8 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.003149, allocations: 87.92 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.003242, allocations: 59.84 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.003267, allocations: 16 kB / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.003336, allocations: 27.92 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.003351, allocations: 8 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.003398, allocations: 55.88 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003534, allocations: 131.8 kB / 0.6406 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003536, allocations: 0 / 0.6406 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003536, allocations: 0 / 0.6406 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.003539, allocations: 0 / 0.6406 GB, free: 11.35 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.0002831/0.003822, allocations: 339.7 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.00385, allocations: 11.98 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.00388, allocations: 20.86 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.08e-05/0.003951, allocations: 109.8 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.00396, allocations: 4.375 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.003979, allocations: 16.38 kB / 0.6411 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.059e-05/0.00403, allocations: 38.23 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.004036, allocations: 192 / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.004041, allocations: 384 / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.004046, allocations: 4.375 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.004061, allocations: 11.88 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.004284, allocations: 184.3 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.00433, allocations: 30.56 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.148e-05/0.004341, allocations: 8.859 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.004346, allocations: 0 / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/0.004426, allocations: 95.31 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.004427, allocations: 0 / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001056/0.004533, allocations: 69.61 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.004556, allocations: 51.41 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.004616, allocations: 122.7 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.004635, allocations: 33.7 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.00467, allocations: 92.08 kB / 0.6418 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.00468, allocations: 15.89 kB / 0.6418 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.004736, allocations: 49.67 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.00481, allocations: 318.8 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.00488, allocations: 95.38 kB / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.004956, allocations: 124 kB / 0.6423 GB, free: 9.34 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/0.005048, allocations: 147.6 kB / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.005049, allocations: 0 / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001805/0.00523, allocations: 260.3 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.005264, allocations: 67.39 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.00527, allocations: 3.938 kB / 0.6428 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.00528, allocations: 0 / 0.6428 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.005298, allocations: 11.94 kB / 0.6428 GB, free: 8.789 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.005302, allocations: 7.984 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.005438, allocations: 39.91 kB / 0.6428 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.005456, allocations: 16.11 kB / 0.6429 GB, free: 8.727 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,or1.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 6.092e-05/0.005517, allocations: 121.8 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.005525, allocations: 7.938 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.005547, allocations: 16.36 kB / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005548, allocations: 0 / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.00555, allocations: 0 / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005553, allocations: 0 / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.735e-05/0.00561, allocations: 77.88 kB / 0.6431 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005611, allocations: 0 / 0.6431 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-06/0.005616, allocations: 0 / 0.6431 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005618, allocations: 11.94 kB / 0.6431 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.005622, allocations: 0 / 0.6431 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005623, allocations: 0 / 0.6431 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005624, allocations: 3.938 kB / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.473e-05/0.005689, allocations: 85.09 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-06/0.005696, allocations: 3.953 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.005706, allocations: 7.984 kB / 0.6432 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.005715, allocations: 0 / 0.6432 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.005738, allocations: 11.92 kB / 0.6432 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.005742, allocations: 8.062 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.323e-05/0.005756, allocations: 12.86 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005756, allocations: 4 kB / 0.6432 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001318/0.005888, allocations: 31.98 kB / 0.6433 GB, free: 8.277 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,or1.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 7.671e-05/0.005964, allocations: 84.3 kB / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.006138, allocations: 258.9 kB / 0.6436 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006141, allocations: 0 / 0.6436 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.006163, allocations: 20.84 kB / 0.6436 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.937e-05/0.006263, allocations: 20.23 kB / 0.6436 GB, free: 7.852 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.006458, allocations: 145.2 kB / 0.6438 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.006483, allocations: 59.36 kB / 0.6438 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.0065, allocations: 7.984 kB / 0.6438 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.006591, allocations: 79.3 kB / 0.6439 GB, free: 7.516 MB / 0.6043 GB Notification: Performance of SimCode: time 3.6e-07/0.006591, allocations: 3.938 kB / 0.6439 GB, free: 7.512 MB / 0.6043 GB Notification: Performance of Templates: time 0.003611/0.0102, allocations: 2.224 MB / 0.6461 GB, free: 5.285 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.374258727766573]