Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.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.0655/0.0655, allocations: 9.128 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.0009352/0.0009352, allocations: 87.28 kB / 35.32 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.001109/0.001109, allocations: 163.6 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.8976/0.8976, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.005786/0.005786, allocations: 0.8181 MB / 276.5 MB, free: 0.7148 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.709/1.709, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.622e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001853/0.00188, allocations: 0.7404 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004659/0.006538, allocations: 1.217 MB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.00659, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.006623, allocations: 7.875 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.006706, allocations: 11.92 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.007188, allocations: 131.6 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.007372, allocations: 123.7 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.007454, allocations: 8 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.007585, allocations: 71.81 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/0.007675, allocations: 39.92 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.007703, allocations: 12 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.007761, allocations: 16 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.007784, allocations: 15.92 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.00783, allocations: 31.97 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.007981, allocations: 95.75 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.007985, allocations: 7.984 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.82e-07/0.007986, allocations: 0 / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.007989, allocations: 0 / 0.6403 GB, free: 11.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003896/0.008378, allocations: 306 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.008412, allocations: 11.98 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.008449, allocations: 16.86 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.008531, allocations: 117.7 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.008544, allocations: 4.375 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.008564, allocations: 12.31 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.008664, allocations: 62.92 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.008671, allocations: 8.188 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.008679, allocations: 4.359 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.008684, allocations: 384 / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.00871, allocations: 11.94 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.008985, allocations: 184.2 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.009072, allocations: 34.56 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.00909, allocations: 8.859 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.009097, allocations: 0 / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/0.01188, allocations: 79.5 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.01188, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001282/0.01201, allocations: 73.59 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.01204, allocations: 51.41 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.0121, allocations: 130.6 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01212, allocations: 25.7 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.01216, allocations: 92.11 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.01218, allocations: 19.84 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.01222, allocations: 37.62 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.01229, allocations: 322.8 kB / 0.6419 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.01234, allocations: 53.69 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.0124, allocations: 89.95 kB / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.01248, allocations: 97.91 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01248, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000141/0.01262, allocations: 172.9 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.01265, allocations: 37.7 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01266, allocations: 128 / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01267, allocations: 11.88 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.01274, allocations: 11.98 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01275, allocations: 4 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.01283, allocations: 23.94 kB / 0.6423 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01285, allocations: 11.98 kB / 0.6424 GB, free: 9.262 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.934e-05/0.01292, allocations: 117.8 kB / 0.6425 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.01293, allocations: 8 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.01295, allocations: 12.42 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01295, allocations: 7.938 kB / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01296, allocations: 0 / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01296, allocations: 4 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.01316, allocations: 218.8 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01316, allocations: 0 / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.01319, allocations: 4 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01319, allocations: 0 / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.0132, allocations: 7.938 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.0132, allocations: 0 / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0132, allocations: 0 / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.37e-05/0.01328, allocations: 159.9 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.01329, allocations: 15.88 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01331, allocations: 7.875 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/0.01334, allocations: 8 kB / 0.6429 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.01337, allocations: 7.984 kB / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.01337, allocations: 0 / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.721e-05/0.01339, allocations: 20.83 kB / 0.6429 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01339, allocations: 0 / 0.6429 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000145/0.01354, allocations: 24 kB / 0.6429 GB, free: 8.598 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001196/0.01366, allocations: 84.41 kB / 0.643 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.0138, allocations: 153.9 kB / 0.6432 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0138, allocations: 0 / 0.6432 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.01384, allocations: 28.78 kB / 0.6432 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.01398, allocations: 11.94 kB / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.01425, allocations: 157.1 kB / 0.6434 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.01428, allocations: 67.59 kB / 0.6434 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.0143, allocations: 7.984 kB / 0.6434 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.01438, allocations: 67.36 kB / 0.6435 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of SimCode: time 6.62e-07/0.01438, allocations: 0 / 0.6435 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of Templates: time 0.003076/0.01745, allocations: 1.65 MB / 0.6451 GB, free: 6.305 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5021068612113595]