Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001985/0.001985, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002676/0.002676, allocations: 217.9 kB / 22.26 MB, free: 5.078 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.06571/0.06571, allocations: 12.18 MB / 324.6 MB, free: 7.242 MB / 254.1 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.0007474/0.0007474, allocations: 32.41 kB / 384.1 MB, free: 46.67 MB / 302.1 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 2.499/2.499, allocations: 353.8 MB / 0.7787 GB, free: 1.051 MB / 0.5138 GB " [Timeout remaining time 177] 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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") [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.003651/0.003651, allocations: 119.9 kB / 1.061 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2813, allocations: 134.9 MB / 1.192 GB, free: 6.16 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002142/0.2834, allocations: 0.8492 MB / 1.193 GB, free: 5.312 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2846, allocations: 0.9305 MB / 1.194 GB, free: 4.371 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.2847, allocations: 0 / 1.194 GB, free: 4.371 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.2847, allocations: 11.86 kB / 1.194 GB, free: 4.359 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.848e-05/0.2848, allocations: 19.8 kB / 1.194 GB, free: 4.34 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.2851, allocations: 43.89 kB / 1.194 GB, free: 4.297 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.2853, allocations: 115.7 kB / 1.194 GB, free: 4.184 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2854, allocations: 21.3 kB / 1.194 GB, free: 4.16 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.2856, allocations: 63.77 kB / 1.194 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2857, allocations: 55.77 kB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2857, allocations: 8 kB / 1.194 GB, free: 4.035 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.2857, allocations: 12 kB / 1.194 GB, free: 4.023 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.2858, allocations: 27.91 kB / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.2858, allocations: 51.72 kB / 1.194 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.2861, allocations: 127.3 kB / 1.195 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2861, allocations: 4 kB / 1.195 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2861, allocations: 4 kB / 1.195 GB, free: 3.812 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2861, allocations: 0 / 1.195 GB, free: 3.812 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006925/0.2868, allocations: 361.8 kB / 1.195 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2868, allocations: 15.98 kB / 1.195 GB, free: 3.41 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.2871, allocations: 40.81 kB / 1.195 GB, free: 3.371 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.2875, allocations: 186.5 kB / 1.195 GB, free: 3.164 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.2876, allocations: 8.359 kB / 1.195 GB, free: 3.156 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2876, allocations: 16.31 kB / 1.195 GB, free: 3.141 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2879, allocations: 116.7 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2879, allocations: 3.938 kB / 1.195 GB, free: 3.008 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2879, allocations: 0 / 1.195 GB, free: 3.008 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2879, allocations: 4 kB / 1.195 GB, free: 3.004 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.2882, allocations: 75.86 kB / 1.195 GB, free: 2.93 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.2889, allocations: 476.2 kB / 1.196 GB, free: 2.414 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.2892, allocations: 111.8 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.2893, allocations: 58.59 kB / 1.196 GB, free: 2.211 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.2894, allocations: 3.938 kB / 1.196 GB, free: 2.207 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.2894, allocations: 38.56 kB / 1.196 GB, free: 2.16 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2894, allocations: 0 / 1.196 GB, free: 2.16 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0005998/0.29, allocations: 157.5 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.2901, allocations: 102.8 kB / 1.196 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2902, allocations: 160.7 kB / 1.196 GB, free: 1.711 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2903, allocations: 29.7 kB / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.2903, allocations: 112.2 kB / 1.197 GB, free: 1.559 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2904, allocations: 23.73 kB / 1.197 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2904, allocations: 29.7 kB / 1.197 GB, free: 1.5 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2906, allocations: 326.8 kB / 1.197 GB, free: 1.172 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2907, allocations: 39.97 kB / 1.197 GB, free: 1.133 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.2909, allocations: 81.11 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.2912, allocations: 94.45 kB / 1.197 GB, free: 0.9336 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2912, allocations: 4 kB / 1.197 GB, free: 0.9297 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003579/0.2915, allocations: 141.5 kB / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2916, allocations: 8 kB / 1.197 GB, free: 0.7773 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2916, allocations: 0 / 1.197 GB, free: 0.7773 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2916, allocations: 0 / 1.197 GB, free: 0.7773 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2917, allocations: 15.98 kB / 1.197 GB, free: 0.7617 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2917, allocations: 4 kB / 1.197 GB, free: 0.7578 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2919, allocations: 19.97 kB / 1.197 GB, free: 0.7383 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2919, allocations: 4 kB / 1.197 GB, free: 0.7344 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001162/0.292, allocations: 129.7 kB / 1.197 GB, free: 0.5977 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.292, allocations: 11.91 kB / 1.197 GB, free: 0.5859 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2923, allocations: 85.98 kB / 1.198 GB, free: 0.4922 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2923, allocations: 4 kB / 1.198 GB, free: 500 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2923, allocations: 0 / 1.198 GB, free: 500 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2923, allocations: 64 / 1.198 GB, free: 500 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.2927, allocations: 184.7 kB / 1.198 GB, free: 272 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2927, allocations: 4 kB / 1.198 GB, free: 268 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2928, allocations: 16.36 kB / 1.198 GB, free: 252 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2928, allocations: 0 / 1.198 GB, free: 252 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2928, allocations: 7.938 kB / 1.198 GB, free: 244 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2928, allocations: 3.938 kB / 1.198 GB, free: 240 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2928, allocations: 0 / 1.198 GB, free: 240 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.2933, allocations: 381.9 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.2933, allocations: 15.83 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.2933, allocations: 4 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.2935, allocations: 19.97 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.2936, allocations: 23.95 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2936, allocations: 4 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.2937, allocations: 122.2 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.2937, allocations: 0 / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003284/0.294, allocations: 20 kB / 1.198 GB, free: 15.64 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.0001593/0.2942, allocations: 103.2 kB / 1.198 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.2946, allocations: 91.86 kB / 1.198 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2946, allocations: 0 / 1.198 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.2947, allocations: 51.89 kB / 1.199 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.2952, allocations: 18.94 kB / 1.199 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.2957, allocations: 203.4 kB / 1.199 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.2961, allocations: 0.7002 MB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.741e-05/0.2962, allocations: 16.64 kB / 1.199 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.2963, allocations: 23.42 kB / 1.199 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.2963, allocations: 0 / 1.199 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of Templates: time 0.005374/0.3016, allocations: 1.409 MB / 1.201 GB, free: 12.98 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.185907136648893] Failed to read output from testmodel.py, exit status != 0: 0.31089625135064125 0.32630444099999995 0.036922344 Calling exit ...