Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001034/0.001034, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001021/0.001021, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7652/0.7652, allocations: 154.8 MB / 415.1 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5206 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.458e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001189/0.001204, allocations: 0.826 MB / 0.5215 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.002131, allocations: 1.049 MB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.002184, allocations: 8.812 kB / 0.5225 GB, free: 332 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.302e-05/0.002277, allocations: 15.86 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.515e-05/0.002312, allocations: 20.7 kB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.00266, allocations: 96.78 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.002776, allocations: 127.6 kB / 0.5227 GB, free: 72 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.002888, allocations: 30.27 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.002976, allocations: 67.95 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.003028, allocations: 47.88 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.003048, allocations: 12.62 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.003154, allocations: 85.28 kB / 0.523 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.003199, allocations: 47.83 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.003237, allocations: 35.86 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.003443, allocations: 179.2 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003445, allocations: 0.5625 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003446, allocations: 0 / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00345, allocations: 5.375 kB / 0.5232 GB, free: 15.57 MB / 0.4948 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.0004445/0.003894, allocations: 495.8 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.003926, allocations: 8.719 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.003972, allocations: 30.11 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004105, allocations: 148.3 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004117, allocations: 12.36 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.004129, allocations: 4.375 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.004338, allocations: 128.2 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004345, allocations: 192 / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.004356, allocations: 1.281 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.004369, allocations: 384 / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.004441, allocations: 44.75 kB / 0.5241 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.004876, allocations: 422 kB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.004944, allocations: 51 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.004993, allocations: 31.62 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.005033, allocations: 11.98 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.005056, allocations: 37.39 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.005057, allocations: 0 / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0002557/0.005313, allocations: 167.3 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.005348, allocations: 51.41 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.005456, allocations: 209.1 kB / 0.525 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.005471, allocations: 29.7 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.005531, allocations: 155.8 kB / 0.5252 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.005578, allocations: 72.42 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.005864, allocations: 39.36 kB / 0.5253 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.005968, allocations: 0.504 MB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.006011, allocations: 25.12 kB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.006047, allocations: 23.98 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.006131, allocations: 75.61 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006133, allocations: 0.5625 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001306/0.006263, allocations: 122.6 kB / 0.526 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006274, allocations: 5.562 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.006285, allocations: 0 / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.006296, allocations: 1.625 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.006387, allocations: 23.92 kB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.006392, allocations: 3.984 kB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.006446, allocations: 33.09 kB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.006463, allocations: 4 kB / 0.5261 GB, free: 12.46 MB / 0.4948 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 7.567e-05/0.006538, allocations: 161.2 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.006561, allocations: 21.16 kB / 0.5262 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.006744, allocations: 155.4 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006747, allocations: 4 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.006749, allocations: 1.406 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006752, allocations: 0 / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.006875, allocations: 180.4 kB / 0.5266 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.00688, allocations: 4 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.006936, allocations: 24.73 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006937, allocations: 2.75 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.006945, allocations: 0 / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006946, allocations: 7.922 kB / 0.5266 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006947, allocations: 0 / 0.5266 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.007113, allocations: 284.5 kB / 0.5269 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.007127, allocations: 27.78 kB / 0.5269 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.007142, allocations: 4 kB / 0.5269 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.007201, allocations: 14.83 kB / 0.5269 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.00726, allocations: 11.98 kB / 0.5269 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.00727, allocations: 11.98 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.007318, allocations: 146.6 kB / 0.5271 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007318, allocations: 0 / 0.5271 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000177/0.007495, allocations: 39.94 kB / 0.5271 GB, free: 11.32 MB / 0.4948 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.0001364/0.007631, allocations: 124.6 kB / 0.5272 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.007804, allocations: 151 kB / 0.5274 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007806, allocations: 0.5 kB / 0.5274 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.007883, allocations: 120.1 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.008092, allocations: 39.34 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.008464, allocations: 295.2 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.008508, allocations: 83.48 kB / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.008549, allocations: 22.42 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.00858, allocations: 12.5 kB / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.008581, allocations: 0 / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.003445/0.01203, allocations: 2.173 MB / 0.5301 GB, free: 8.348 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9427269271109253]