Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.001976/0.001976, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002739/0.002739, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.98 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.06325/0.06325, allocations: 12.2 MB / 324.6 MB, free: 7.281 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.0007365/0.0007365, allocations: 30.75 kB / 384.1 MB, free: 46.57 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.543/2.543, allocations: 353.8 MB / 0.7787 GB, free: 1.062 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") [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.003503/0.003503, allocations: 115.9 kB / 1.061 GB, free: 13.04 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2712, allocations: 134.9 MB / 1.192 GB, free: 6.227 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.002003/0.2732, allocations: 0.768 MB / 1.193 GB, free: 5.461 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2744, allocations: 0.8956 MB / 1.194 GB, free: 4.555 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.2745, allocations: 4 kB / 1.194 GB, free: 4.551 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.2745, allocations: 7.875 kB / 1.194 GB, free: 4.543 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.2746, allocations: 15.88 kB / 1.194 GB, free: 4.527 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.2748, allocations: 43.94 kB / 1.194 GB, free: 4.484 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.275, allocations: 87.77 kB / 1.194 GB, free: 4.398 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2751, allocations: 19.97 kB / 1.194 GB, free: 4.379 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.2752, allocations: 43.84 kB / 1.194 GB, free: 4.336 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2753, allocations: 43.83 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2754, allocations: 8 kB / 1.194 GB, free: 4.285 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.2754, allocations: 8 kB / 1.194 GB, free: 4.277 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.2754, allocations: 23.91 kB / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.2755, allocations: 39.86 kB / 1.194 GB, free: 4.215 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2756, allocations: 87.55 kB / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2756, allocations: 0 / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2756, allocations: 0 / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2756, allocations: 0 / 1.194 GB, free: 4.129 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.0006491/0.2763, allocations: 318 kB / 1.195 GB, free: 3.789 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2763, allocations: 11.98 kB / 1.195 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.2764, allocations: 12.83 kB / 1.195 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2765, allocations: 126.5 kB / 1.195 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2765, allocations: 4.375 kB / 1.195 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2766, allocations: 4.375 kB / 1.195 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.2769, allocations: 108.5 kB / 1.195 GB, free: 3.5 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2769, allocations: 3.938 kB / 1.195 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2769, allocations: 4 kB / 1.195 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2769, allocations: 4 kB / 1.195 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.2773, allocations: 99.89 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.2779, allocations: 307.7 kB / 1.195 GB, free: 3.047 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.2785, allocations: 118.5 kB / 1.195 GB, free: 2.922 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2787, allocations: 52.81 kB / 1.195 GB, free: 2.867 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.2788, allocations: 7.984 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.2788, allocations: 30.56 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2788, allocations: 0 / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0006962/0.2795, allocations: 193.4 kB / 1.196 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.2796, allocations: 51.41 kB / 1.196 GB, free: 2.562 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2797, allocations: 124 kB / 1.196 GB, free: 2.434 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2797, allocations: 25.7 kB / 1.196 GB, free: 2.402 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.2798, allocations: 100.1 kB / 1.196 GB, free: 2.301 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2798, allocations: 19.8 kB / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.2799, allocations: 29.7 kB / 1.196 GB, free: 2.246 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.28, allocations: 318.8 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2802, allocations: 43.95 kB / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2804, allocations: 51.94 kB / 1.196 GB, free: 1.832 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2807, allocations: 92.78 kB / 1.196 GB, free: 1.738 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2807, allocations: 0 / 1.196 GB, free: 1.738 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004213/0.2812, allocations: 141.5 kB / 1.197 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2812, allocations: 4.938 kB / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2812, allocations: 0 / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2812, allocations: 4 kB / 1.197 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2814, allocations: 31.95 kB / 1.197 GB, free: 1.555 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2814, allocations: 0 / 1.197 GB, free: 1.555 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2815, allocations: 23.91 kB / 1.197 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2815, allocations: 0 / 1.197 GB, free: 1.531 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001122/0.2816, allocations: 113.8 kB / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.2817, allocations: 7.953 kB / 1.197 GB, free: 1.402 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.2821, allocations: 157.9 kB / 1.197 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2821, allocations: 0 / 1.197 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2821, allocations: 4 kB / 1.197 GB, free: 1.234 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2822, allocations: 3.938 kB / 1.197 GB, free: 1.23 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2824, allocations: 164.7 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2824, allocations: 3.938 kB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.2825, allocations: 27.97 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.2825, allocations: 11.92 kB / 1.197 GB, free: 0.9844 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2826, allocations: 0 / 1.197 GB, free: 0.9844 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2826, allocations: 0 / 1.197 GB, free: 0.9844 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2826, allocations: 0 / 1.197 GB, free: 0.9844 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.283, allocations: 243.9 kB / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.2831, allocations: 12.02 kB / 1.197 GB, free: 0.7188 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2831, allocations: 0 / 1.197 GB, free: 0.7188 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2832, allocations: 15.98 kB / 1.197 GB, free: 0.7031 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.2833, allocations: 23.91 kB / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2833, allocations: 7.984 kB / 1.197 GB, free: 0.6719 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.2834, allocations: 91.27 kB / 1.198 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2834, allocations: 0 / 1.198 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002338/0.2836, allocations: 12 kB / 1.198 GB, free: 0.5703 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001445/0.2838, allocations: 103.2 kB / 1.198 GB, free: 472 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.2842, allocations: 111.9 kB / 1.198 GB, free: 360 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2842, allocations: 0 / 1.198 GB, free: 360 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.2844, allocations: 63.94 kB / 1.198 GB, free: 296 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2847, allocations: 8 kB / 1.198 GB, free: 288 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.2852, allocations: 178.1 kB / 1.198 GB, free: 80 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.2856, allocations: 0.6962 MB / 1.199 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.2857, allocations: 8 kB / 1.199 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.2857, allocations: 19.42 kB / 1.199 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.2857, allocations: 0 / 1.199 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.004724/0.2905, allocations: 1.624 MB / 1.2 GB, free: 13.72 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.281178832054138] Failed to read output from testmodel.py, exit status != 0: 0.2992725037038326 0.314808719 0.035995715000000005 Calling exit ...