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.000889/0.000889, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.0009634/0.0009634, allocations: 216.9 kB / 23 MB, free: 2.988 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.9746/0.9746, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.03839/0.03839, allocations: 12.19 MB / 325.4 MB, free: 6.09 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.0005575/0.0005575, allocations: 35.92 kB / 384.9 MB, free: 10.49 MB / 314.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.883/1.883, allocations: 353.8 MB / 0.7794 GB, free: 4.551 MB / 0.5105 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.00156/0.00156, allocations: 119.8 kB / 1.061 GB, free: 24.44 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 134.9 MB / 1.193 GB, free: 6.93 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Add): time 0.001644/0.2826, allocations: 0.6828 MB / 1.194 GB, free: 6.246 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.2834, allocations: 0.8319 MB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.2834, allocations: 0 / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.2835, allocations: 3.938 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.2835, allocations: 11.92 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 7.311e-05/0.2836, allocations: 23.91 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.859e-05/0.2837, allocations: 35.92 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2838, allocations: 8 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.2839, allocations: 19.92 kB / 1.195 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.2839, allocations: 19.91 kB / 1.195 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.284, allocations: 4 kB / 1.195 GB, free: 5.277 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-06/0.284, allocations: 4 kB / 1.195 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.284, allocations: 4 kB / 1.195 GB, free: 5.27 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.284, allocations: 19.86 kB / 1.195 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.2841, allocations: 47.8 kB / 1.195 GB, free: 5.203 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2841, allocations: 0 / 1.195 GB, free: 5.203 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2841, allocations: 4 kB / 1.195 GB, free: 5.199 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2841, allocations: 0 / 1.195 GB, free: 5.199 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.0004352/0.2846, allocations: 278.3 kB / 1.195 GB, free: 4.895 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2846, allocations: 12.03 kB / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.2846, allocations: 4.891 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.2847, allocations: 118.4 kB / 1.195 GB, free: 4.738 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2848, allocations: 4.375 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2848, allocations: 4.375 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2849, allocations: 70.22 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.285, allocations: 4.172 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.285, allocations: 3.938 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.285, allocations: 4 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.2851, allocations: 59.92 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2854, allocations: 212.5 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2856, allocations: 54.53 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.2856, allocations: 44.86 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.2857, allocations: 0 / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2857, allocations: 34.56 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2857, allocations: 0 / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003199/0.286, allocations: 133.5 kB / 1.196 GB, free: 4.059 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.286, allocations: 51.41 kB / 1.196 GB, free: 3.996 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.2861, allocations: 109.8 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2861, allocations: 25.7 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.2861, allocations: 88.09 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2862, allocations: 15.89 kB / 1.196 GB, free: 3.742 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.2862, allocations: 13.7 kB / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.2863, allocations: 314.8 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.2864, allocations: 35.91 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.2864, allocations: 31.95 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2866, allocations: 72.78 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2866, allocations: 0 / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001702/0.2867, allocations: 109.5 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2868, allocations: 4 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2868, allocations: 4 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2868, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.2869, allocations: 11.98 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2869, allocations: 0 / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.2869, allocations: 23.92 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.2869, allocations: 0 / 1.196 GB, free: 3.109 MB / 0.823 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 0.0003669/0.2873, allocations: 109.8 kB / 1.197 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2873, allocations: 3.938 kB / 1.197 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.2873, allocations: 12 kB / 1.197 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2873, allocations: 0 / 1.197 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2873, allocations: 0 / 1.197 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2873, allocations: 0 / 1.197 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.2874, allocations: 109.3 kB / 1.197 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2874, allocations: 336 / 1.197 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.2875, allocations: 27.91 kB / 1.197 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2875, allocations: 3.938 kB / 1.197 GB, free: 2.801 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2875, allocations: 4 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.2875, allocations: 0 / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2875, allocations: 0 / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.2877, allocations: 191.4 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.2877, allocations: 15.88 kB / 1.197 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.2877, allocations: 0 / 1.197 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.2877, allocations: 19.97 kB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.2878, allocations: 0 / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2878, allocations: 0 / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.2878, allocations: 95.25 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2878, allocations: 0 / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001372/0.2879, allocations: 11.94 kB / 1.197 GB, free: 2.453 MB / 0.823 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 9.83e-05/0.288, allocations: 91.25 kB / 1.197 GB, free: 2.355 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.2882, allocations: 71.86 kB / 1.197 GB, free: 2.285 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2882, allocations: 0 / 1.197 GB, free: 2.285 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.2883, allocations: 35.95 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2885, allocations: 9.25 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.2888, allocations: 155.1 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.2889, allocations: 75.28 kB / 1.197 GB, free: 1.965 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.2889, allocations: 11.44 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of SimCode: time 4.01e-07/0.2889, allocations: 0 / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of Templates: time 0.001677/0.2906, allocations: 0.7613 MB / 1.198 GB, free: 1.207 MB / 0.823 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: 7.548780030570924] Failed to read output from testmodel.py, exit status != 0: 0.29848975129425526 0.307194918 0.021194515 Calling exit ...