Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.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.001031/0.001031, allocations: 115 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.001181/0.001181, allocations: 199.9 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.899/0.899, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03764/0.03764, allocations: 12.19 MB / 325.4 MB, free: 3.43 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.0003405/0.0003405, allocations: 27.64 kB / 384.9 MB, free: 45.74 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.598/1.598, allocations: 353.8 MB / 0.7794 GB, free: 13.04 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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") [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.001452/0.001452, allocations: 115 kB / 1.061 GB, free: 9.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 134.9 MB / 1.193 GB, free: 2.578 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001443/0.2327, allocations: 0.8333 MB / 1.194 GB, free: 1.746 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.2336, allocations: 1.05 MB / 1.195 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.2336, allocations: 4 kB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2337, allocations: 15.86 kB / 1.195 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.2337, allocations: 15.81 kB / 1.195 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.2341, allocations: 99.73 kB / 1.195 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2342, allocations: 123.7 kB / 1.195 GB, free: 440 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2344, allocations: 37.28 kB / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.2344, allocations: 55.78 kB / 1.195 GB, free: 344 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.2345, allocations: 71.73 kB / 1.195 GB, free: 272 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2345, allocations: 8 kB / 1.195 GB, free: 264 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2346, allocations: 91.91 kB / 1.195 GB, free: 172 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.2347, allocations: 43.84 kB / 1.195 GB, free: 128 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.2347, allocations: 59.61 kB / 1.195 GB, free: 68 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2349, allocations: 215.2 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2349, allocations: 3.938 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2349, allocations: 0 / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2349, allocations: 0 / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005341/0.2355, allocations: 425.4 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2355, allocations: 19.97 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.2355, allocations: 16.8 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2357, allocations: 150.2 kB / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2357, allocations: 4.375 kB / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2357, allocations: 8.375 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.236, allocations: 206.1 kB / 1.196 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.236, allocations: 192 / 1.196 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2361, allocations: 7.938 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2361, allocations: 4 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.2364, allocations: 219.8 kB / 1.197 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.237, allocations: 0.4992 MB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2372, allocations: 150.5 kB / 1.197 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2374, allocations: 144.7 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.2375, allocations: 7.984 kB / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.2375, allocations: 30.56 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=25): time 2.564e-06/0.2375, allocations: 3.984 kB / 1.198 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of matching and sorting (n=25): time 0.0007051/0.2382, allocations: 483 kB / 1.198 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2382, allocations: 55.34 kB / 1.198 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.2383, allocations: 151.6 kB / 1.198 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2383, allocations: 29.7 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.2384, allocations: 108.5 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.2384, allocations: 75.44 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.2385, allocations: 33.7 kB / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.2385, allocations: 326.8 kB / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.2387, allocations: 131.8 kB / 1.199 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2389, allocations: 140.8 kB / 1.199 GB, free: 12.3 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.2393, allocations: 298.7 kB / 1.199 GB, free: 12.01 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2393, allocations: 4 kB / 1.199 GB, free: 12 MB / 0.8387 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004175/0.2397, allocations: 321.3 kB / 1.2 GB, free: 11.68 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2397, allocations: 8 kB / 1.2 GB, free: 11.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2397, allocations: 7.938 kB / 1.2 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2398, allocations: 0 / 1.2 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2399, allocations: 39.95 kB / 1.2 GB, free: 11.63 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2399, allocations: 7.875 kB / 1.2 GB, free: 11.62 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.2399, allocations: 35.84 kB / 1.2 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.24, allocations: 4 kB / 1.2 GB, free: 11.58 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: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.597e-05/0.2401, allocations: 141.8 kB / 1.2 GB, free: 11.43 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.2401, allocations: 11.91 kB / 1.2 GB, free: 11.42 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.2406, allocations: 362.5 kB / 1.2 GB, free: 11.06 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2406, allocations: 7.984 kB / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2406, allocations: 7.938 kB / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2406, allocations: 0 / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2407, allocations: 236.5 kB / 1.2 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2407, allocations: 0 / 1.2 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.2408, allocations: 51.81 kB / 1.2 GB, free: 10.72 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2408, allocations: 0 / 1.2 GB, free: 10.72 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2408, allocations: 4 kB / 1.2 GB, free: 10.72 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2408, allocations: 4 kB / 1.2 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2408, allocations: 3.938 kB / 1.2 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.2413, allocations: 435.2 kB / 1.201 GB, free: 10.27 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.2413, allocations: 19.8 kB / 1.201 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2413, allocations: 0 / 1.201 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.2414, allocations: 31.95 kB / 1.201 GB, free: 10.22 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.2414, allocations: 15.92 kB / 1.201 GB, free: 10.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2415, allocations: 8 kB / 1.201 GB, free: 10.2 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.2415, allocations: 114 kB / 1.201 GB, free: 10.09 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2415, allocations: 4 kB / 1.201 GB, free: 10.08 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001761/0.2417, allocations: 35.94 kB / 1.201 GB, free: 10.05 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: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001594/0.2418, allocations: 128.4 kB / 1.201 GB, free: 9.914 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.2423, allocations: 351.2 kB / 1.202 GB, free: 9.559 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2423, allocations: 4 kB / 1.202 GB, free: 9.555 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.2425, allocations: 223.2 kB / 1.202 GB, free: 9.324 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.2427, allocations: 19.98 kB / 1.202 GB, free: 9.305 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.2432, allocations: 384.8 kB / 1.202 GB, free: 8.895 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2434, allocations: 0.7314 MB / 1.203 GB, free: 8.137 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2434, allocations: 19.38 kB / 1.203 GB, free: 8.117 MB / 0.8387 GB Notification: Performance of SimCode: time 6.11e-07/0.2434, allocations: 0 / 1.203 GB, free: 8.117 MB / 0.8387 GB Notification: Performance of Templates: time 0.002564/0.246, allocations: 2.063 MB / 1.205 GB, free: 6.074 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0083252266049385] Failed to read output from testmodel.py, exit status != 0: 0.25131957046687603 0.25929873400000003 0.022705977000000002 Calling exit ...