Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.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.04233/0.04233, allocations: 9.133 MB / 28.99 MB, free: 0.8203 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.000838/0.000838, allocations: 91.16 kB / 35.33 MB, free: 1.082 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.001116/0.001116, allocations: 164.6 kB / 38.73 MB, free: 2.512 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 1.045/1.045, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.004215/0.004215, allocations: 0.8263 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.683/1.683, allocations: 274.9 MB / 0.5419 GB, free: 0.6562 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.638 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.103e-05, allocations: 6.312 kB / 0.638 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00145/0.001471, allocations: 0.7539 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000948/0.002419, allocations: 0.843 MB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.002458, allocations: 0 / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.002487, allocations: 7.938 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.002556, allocations: 7.922 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.625e-05/0.002612, allocations: 7.984 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.002684, allocations: 55.84 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.002758, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.002845, allocations: 27.91 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.00288, allocations: 15.98 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.002895, allocations: 7.938 kB / 0.6397 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.002902, allocations: 4 kB / 0.6397 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.002917, allocations: 7.984 kB / 0.6397 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.002938, allocations: 15.92 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.622e-05/0.003004, allocations: 23.91 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.003006, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.62e-07/0.003007, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.00301, allocations: 4 kB / 0.6397 GB, free: 12.25 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.0002732/0.003283, allocations: 256.9 kB / 0.64 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003318, allocations: 15.92 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.003343, allocations: 8.922 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.003419, allocations: 113.7 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.003428, allocations: 384 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.003435, allocations: 4.375 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.003533, allocations: 62.94 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.003539, allocations: 4.125 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.003545, allocations: 4.375 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.003549, allocations: 384 / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.00357, allocations: 7.938 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.003772, allocations: 160.2 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.003822, allocations: 26.62 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.003839, allocations: 8.859 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.003846, allocations: 7.938 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.003866, allocations: 30.56 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.003867, allocations: 0 / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001024/0.003969, allocations: 53.7 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.003996, allocations: 51.41 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.004052, allocations: 110.7 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.004063, allocations: 25.7 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.004095, allocations: 88.12 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.004113, allocations: 15.89 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.004138, allocations: 13.72 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.004221, allocations: 322.8 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.004404, allocations: 3.938 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.004415, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.004445, allocations: 12.84 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004447, allocations: 4 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.422e-05/0.004502, allocations: 41.69 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.004515, allocations: 4 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.00452, allocations: 0 / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.004533, allocations: 3.938 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.004604, allocations: 11.98 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-06/0.004607, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.004629, allocations: 11.94 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.00464, allocations: 7.938 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.283e-05/0.004702, allocations: 113.8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.004717, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.00474, allocations: 12 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.004742, allocations: 3.938 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004744, allocations: 0 / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.004748, allocations: 0 / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.812e-05/0.004836, allocations: 73.88 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.004838, allocations: 4 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.004868, allocations: 11.98 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.004869, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.004874, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.004875, allocations: 4 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.004877, allocations: 4 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.00496, allocations: 135.4 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.004967, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-06/0.004975, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.005011, allocations: 11.98 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.005043, allocations: 4 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005046, allocations: 3.938 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.264e-05/0.005059, allocations: 12.84 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005059, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001201/0.005179, allocations: 15.95 kB / 0.6415 GB, free: 10.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.089e-05/0.00525, allocations: 72.42 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.252e-05/0.005312, allocations: 21.22 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005314, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.005334, allocations: 16.8 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.005461, allocations: 4 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.005692, allocations: 136.5 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.111e-05/0.005723, allocations: 59.3 kB / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.005742, allocations: 4 kB / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.00579, allocations: 55.36 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of SimCode: time 7.61e-07/0.005791, allocations: 0 / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of Templates: time 0.001949/0.007739, allocations: 0.6762 MB / 0.6425 GB, free: 9.07 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.480375567916781]