Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.conf.json 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.0006854/0.0006854, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007579/0.0007579, allocations: 215.9 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8977/0.8977, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] 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.0359/0.0359, allocations: 12.19 MB / 325.4 MB, free: 3.414 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004088/0.0004088, allocations: 25.92 kB / 384.9 MB, free: 45.8 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.629/1.629, allocations: 353.8 MB / 0.7795 GB, free: 13.05 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 116.1 kB / 1.061 GB, free: 9.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.213, allocations: 134.9 MB / 1.193 GB, free: 2.531 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Add): time 0.001723/0.2147, allocations: 0.6906 MB / 1.194 GB, free: 1.84 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007255/0.2154, allocations: 0.8499 MB / 1.195 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.2155, allocations: 0 / 1.195 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.2155, allocations: 3.938 kB / 1.195 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.2156, allocations: 7.938 kB / 1.195 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.963e-05/0.2156, allocations: 7.984 kB / 1.195 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.2157, allocations: 51.78 kB / 1.195 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2158, allocations: 4 kB / 1.195 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.2159, allocations: 23.92 kB / 1.195 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.216, allocations: 19.92 kB / 1.195 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.216, allocations: 8 kB / 1.195 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.216, allocations: 4 kB / 1.195 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.216, allocations: 11.92 kB / 1.195 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.216, allocations: 15.92 kB / 1.195 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.2161, allocations: 43.8 kB / 1.195 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2161, allocations: 0 / 1.195 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2161, allocations: 0 / 1.195 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2161, allocations: 3.938 kB / 1.195 GB, free: 0.7773 MB / 0.823 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.00038/0.2165, allocations: 286.3 kB / 1.195 GB, free: 476 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2166, allocations: 11.98 kB / 1.195 GB, free: 464 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2166, allocations: 8.891 kB / 1.195 GB, free: 456 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.439e-05/0.2167, allocations: 114.4 kB / 1.195 GB, free: 316 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2167, allocations: 384 / 1.195 GB, free: 316 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2167, allocations: 4.375 kB / 1.195 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2169, allocations: 70.2 kB / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2169, allocations: 192 / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2169, allocations: 7.938 kB / 1.195 GB, free: 228 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2169, allocations: 0 / 1.195 GB, free: 228 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.217, allocations: 67.91 kB / 1.195 GB, free: 160 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.2174, allocations: 236 kB / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2175, allocations: 66.41 kB / 1.196 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.2175, allocations: 40.91 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2176, allocations: 0 / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2176, allocations: 30.56 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2176, allocations: 4 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3): time 0.0002917/0.2179, allocations: 129.5 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.2179, allocations: 51.41 kB / 1.196 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.218, allocations: 109.8 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.218, allocations: 25.7 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.218, allocations: 92.08 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.218, allocations: 15.94 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.218, allocations: 13.72 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.2181, allocations: 314.8 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.2182, allocations: 31.95 kB / 1.196 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.2182, allocations: 31.97 kB / 1.196 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2184, allocations: 68.78 kB / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2184, allocations: 7.938 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001508/0.2185, allocations: 93.56 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2185, allocations: 11.94 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2185, allocations: 4 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2186, allocations: 0 / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.2186, allocations: 19.97 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2186, allocations: 0 / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.2187, allocations: 15.88 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2187, allocations: 8 kB / 1.197 GB, free: 14.64 MB / 0.8387 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 5.966e-05/0.2187, allocations: 113.8 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.2188, allocations: 8 kB / 1.197 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.2188, allocations: 4 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2188, allocations: 3.984 kB / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2188, allocations: 0 / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.2188, allocations: 0 / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2189, allocations: 140.7 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.2189, allocations: 0 / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.2189, allocations: 15.98 kB / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2189, allocations: 0 / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.2189, allocations: 0 / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.2189, allocations: 4 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.2189, allocations: 0 / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2191, allocations: 207.6 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.2191, allocations: 7.969 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.2191, allocations: 0 / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.2192, allocations: 15.98 kB / 1.197 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2192, allocations: 7.984 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2192, allocations: 4 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.2192, allocations: 87.27 kB / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2192, allocations: 0 / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001355/0.2194, allocations: 8 kB / 1.197 GB, free: 13.95 MB / 0.8387 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 8.541e-05/0.2195, allocations: 91.25 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.2196, allocations: 71.86 kB / 1.197 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2196, allocations: 0 / 1.197 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.2197, allocations: 35.97 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2199, allocations: 14.11 kB / 1.197 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.2202, allocations: 147.2 kB / 1.198 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.2203, allocations: 0.6807 MB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.2204, allocations: 11.44 kB / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of SimCode: time 4.61e-07/0.2204, allocations: 0 / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of Templates: time 0.001464/0.2218, allocations: 0.7396 MB / 1.199 GB, free: 12.1 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.723546783439815] Failed to read output from testmodel.py, exit status != 0: 0.22752318251878023 0.23573603699999995 0.017956808 Calling exit ...