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.001187/0.001187, allocations: 115 kB / 19.7 MB, free: 0.5234 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.001991/0.001991, allocations: 207.8 kB / 23 MB, free: 3.113 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.9133/0.9133, allocations: 230.6 MB / 256.8 MB, free: 3.457 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.03673/0.03673, allocations: 12.19 MB / 325.4 MB, free: 3.418 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.0005183/0.0005183, allocations: 26.27 kB / 384.9 MB, free: 45.78 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.651/1.651, allocations: 353.8 MB / 0.7794 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.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.001438/0.001438, allocations: 119.3 kB / 1.061 GB, free: 9.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2169, allocations: 134.9 MB / 1.193 GB, free: 2.562 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.001579/0.2185, allocations: 0.7758 MB / 1.194 GB, free: 1.793 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.2193, allocations: 0.8899 MB / 1.195 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.2193, allocations: 7.938 kB / 1.195 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.2194, allocations: 15.86 kB / 1.195 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.2195, allocations: 3.938 kB / 1.195 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.2196, allocations: 47.88 kB / 1.195 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2198, allocations: 79.83 kB / 1.195 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2199, allocations: 19.98 kB / 1.195 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.2199, allocations: 47.78 kB / 1.195 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.22, allocations: 47.83 kB / 1.195 GB, free: 0.625 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2201, allocations: 8 kB / 1.195 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.2201, allocations: 8 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.2201, allocations: 23.97 kB / 1.195 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.2201, allocations: 31.8 kB / 1.195 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2202, allocations: 91.59 kB / 1.195 GB, free: 476 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2202, allocations: 4 kB / 1.195 GB, free: 472 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2202, allocations: 0 / 1.195 GB, free: 472 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2202, allocations: 0 / 1.195 GB, free: 472 kB / 0.823 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.0005185/0.2208, allocations: 318 kB / 1.195 GB, free: 124 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2208, allocations: 11.98 kB / 1.195 GB, free: 112 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.2208, allocations: 12.89 kB / 1.195 GB, free: 100 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.221, allocations: 122.4 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.221, allocations: 4.375 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.221, allocations: 4.375 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.2212, allocations: 109.5 kB / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2212, allocations: 3.984 kB / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2212, allocations: 4 kB / 1.196 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2212, allocations: 4 kB / 1.196 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.2214, allocations: 91.91 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.2218, allocations: 319.7 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.2222, allocations: 118.5 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.2223, allocations: 52.8 kB / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2223, allocations: 11.98 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2223, allocations: 30.56 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.2223, allocations: 0 / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0003853/0.2227, allocations: 181.5 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2227, allocations: 51.41 kB / 1.196 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.2228, allocations: 131.7 kB / 1.197 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2228, allocations: 25.7 kB / 1.197 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.2229, allocations: 100.1 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2229, allocations: 23.8 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.2229, allocations: 25.64 kB / 1.197 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.223, allocations: 318.8 kB / 1.197 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.2231, allocations: 43.95 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.2232, allocations: 47.89 kB / 1.197 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2234, allocations: 104.8 kB / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2234, allocations: 0 / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002215/0.2236, allocations: 137.5 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2236, allocations: 4 kB / 1.197 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2236, allocations: 4 kB / 1.197 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2236, allocations: 0 / 1.197 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.2237, allocations: 27.91 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2237, allocations: 4 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.2238, allocations: 15.92 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.2238, allocations: 8 kB / 1.197 GB, free: 13.86 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: 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 6.679e-05/0.2238, allocations: 117.8 kB / 1.198 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2239, allocations: 7.953 kB / 1.198 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.2241, allocations: 146 kB / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2241, allocations: 0 / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2241, allocations: 0 / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2241, allocations: 7.938 kB / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2243, allocations: 172.6 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2243, allocations: 0 / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.2244, allocations: 27.97 kB / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2244, allocations: 4 kB / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.2244, allocations: 0 / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2244, allocations: 0 / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2244, allocations: 7.922 kB / 1.198 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.2246, allocations: 236 kB / 1.198 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.2246, allocations: 15.88 kB / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2247, allocations: 0 / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.2247, allocations: 11.98 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2248, allocations: 23.91 kB / 1.198 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2248, allocations: 4 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.2248, allocations: 99.2 kB / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2248, allocations: 0 / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001645/0.225, allocations: 16 kB / 1.198 GB, free: 12.9 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: 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 9.22e-05/0.2251, allocations: 103.2 kB / 1.198 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.2253, allocations: 95.98 kB / 1.198 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2253, allocations: 0 / 1.198 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2254, allocations: 72.02 kB / 1.199 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2257, allocations: 10.02 kB / 1.199 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.226, allocations: 199.8 kB / 1.199 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.2262, allocations: 0.6962 MB / 1.199 GB, free: 11.66 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.2262, allocations: 23.42 kB / 1.199 GB, free: 11.64 MB / 0.8387 GB Notification: Performance of SimCode: time 5.31e-07/0.2262, allocations: 4 kB / 1.199 GB, free: 11.64 MB / 0.8387 GB Notification: Performance of Templates: time 0.001946/0.2282, allocations: 1.233 MB / 1.201 GB, free: 10.41 MB / 0.8387 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: 6.78013105597347] Failed to read output from testmodel.py, exit status != 0: 0.23422477301210165 0.242480517 0.020515078000000003 Calling exit ...