Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.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.0007811/0.0007811, allocations: 117.6 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.0008357/0.0008357, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8912/0.8912, allocations: 230.6 MB / 256.8 MB, free: 3.426 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.03541/0.03541, allocations: 12.19 MB / 325.4 MB, free: 3.402 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.0004015/0.0004015, allocations: 31.86 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.61/1.61, allocations: 353.8 MB / 0.7794 GB, free: 13.09 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") [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.001393/0.001393, allocations: 118.2 kB / 1.061 GB, free: 9.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1943, allocations: 134.9 MB / 1.193 GB, free: 2.559 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001282/0.1956, allocations: 0.7058 MB / 1.194 GB, free: 1.855 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006104/0.1962, allocations: 0.8382 MB / 1.195 GB, free: 1.008 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.1962, allocations: 0 / 1.195 GB, free: 1.008 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.1963, allocations: 3.938 kB / 1.195 GB, free: 1.004 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.1963, allocations: 11.92 kB / 1.195 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 4.975e-05/0.1964, allocations: 15.98 kB / 1.195 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.1964, allocations: 35.92 kB / 1.195 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.1965, allocations: 11.98 kB / 1.195 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1966, allocations: 19.94 kB / 1.195 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.1966, allocations: 27.83 kB / 1.195 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1966, allocations: 4 kB / 1.195 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-06/0.1966, allocations: 4 kB / 1.195 GB, free: 0.875 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1967, allocations: 7.938 kB / 1.195 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1967, allocations: 23.86 kB / 1.195 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.142e-05/0.1968, allocations: 39.81 kB / 1.195 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1968, allocations: 4 kB / 1.195 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1968, allocations: 0 / 1.195 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1968, allocations: 3.938 kB / 1.195 GB, free: 0.7969 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.0003316/0.1971, allocations: 282.3 kB / 1.195 GB, free: 500 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1971, allocations: 15.98 kB / 1.195 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.1972, allocations: 4.891 kB / 1.195 GB, free: 480 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.347e-05/0.1972, allocations: 114.5 kB / 1.195 GB, free: 340 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1972, allocations: 384 / 1.195 GB, free: 340 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1972, allocations: 8.375 kB / 1.195 GB, free: 332 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1974, allocations: 66.22 kB / 1.195 GB, free: 260 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1974, allocations: 4.125 kB / 1.195 GB, free: 256 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1974, allocations: 3.938 kB / 1.195 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1974, allocations: 0 / 1.195 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1975, allocations: 67.92 kB / 1.195 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1978, allocations: 244 kB / 1.196 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1979, allocations: 50.48 kB / 1.196 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.198, allocations: 44.91 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.198, allocations: 7.938 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.198, allocations: 34.56 kB / 1.196 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.198, allocations: 0 / 1.196 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3): time 0.0002795/0.1983, allocations: 129.6 kB / 1.196 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.1983, allocations: 55.41 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.1984, allocations: 105.8 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.1984, allocations: 25.7 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.1984, allocations: 92.09 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1984, allocations: 7.953 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.1985, allocations: 13.72 kB / 1.196 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.1985, allocations: 318.8 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.1986, allocations: 35.91 kB / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1987, allocations: 31.95 kB / 1.196 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1988, allocations: 64.8 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1988, allocations: 3.938 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001472/0.1989, allocations: 105.6 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1989, allocations: 4 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.199, allocations: 4 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.199, allocations: 0 / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.199, allocations: 15.98 kB / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.199, allocations: 0 / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.1991, allocations: 23.88 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1991, allocations: 3.938 kB / 1.197 GB, free: 14.66 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 4.553e-05/0.1991, allocations: 113.7 kB / 1.197 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.1991, allocations: 11.98 kB / 1.197 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.1992, allocations: 4 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-07/0.1992, allocations: 0 / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1992, allocations: 0 / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1992, allocations: 0 / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.1993, allocations: 144.7 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.1993, allocations: 4 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.1993, allocations: 15.97 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1993, allocations: 0 / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.1993, allocations: 0 / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1993, allocations: 4 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1993, allocations: 0 / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1995, allocations: 199.4 kB / 1.197 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.1995, allocations: 7.875 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1995, allocations: 3.984 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.1995, allocations: 11.98 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.1996, allocations: 8 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1996, allocations: 0 / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.437e-05/0.1996, allocations: 83.27 kB / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.1996, allocations: 4 kB / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001384/0.1997, allocations: 12 kB / 1.197 GB, free: 13.97 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 7.673e-05/0.1998, allocations: 91.25 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.2, allocations: 67.92 kB / 1.197 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2, allocations: 4 kB / 1.197 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.909e-05/0.2, allocations: 40.36 kB / 1.197 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2002, allocations: 7.938 kB / 1.197 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.2005, allocations: 147.2 kB / 1.198 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2006, allocations: 0.6806 MB / 1.198 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2006, allocations: 15.44 kB / 1.198 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of SimCode: time 3.6e-07/0.2006, allocations: 0 / 1.198 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of Templates: time 0.001475/0.2021, allocations: 0.7486 MB / 1.199 GB, free: 12.12 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.592696227133274] Failed to read output from testmodel.py, exit status != 0: 0.20785505883395672 0.21540439399999994 0.017133511 Calling exit ...