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.001663/0.001663, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001591/0.001591, allocations: 167.9 kB / 22.44 MB, free: 5.301 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.434/1.434, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.167/1.167, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 178] 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: IDEAS 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.002044/0.002044, allocations: 76.67 kB / 0.6192 GB, free: 4.117 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5738, allocations: 102 MB / 0.7188 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002168/0.576, allocations: 0.8086 MB / 0.7196 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.5772, allocations: 1.032 MB / 0.7206 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.5773, allocations: 1.406 kB / 0.7206 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.5774, allocations: 15.02 kB / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.5775, allocations: 25.59 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.5779, allocations: 93.03 kB / 0.7207 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.5781, allocations: 123.6 kB / 0.7208 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.5782, allocations: 37.41 kB / 0.7209 GB, free: 376 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.5783, allocations: 76.02 kB / 0.7209 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.5784, allocations: 52.58 kB / 0.721 GB, free: 316 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.5784, allocations: 10.25 kB / 0.721 GB, free: 316 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.5786, allocations: 91.83 kB / 0.7211 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.5787, allocations: 38.58 kB / 0.7211 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.5787, allocations: 57.45 kB / 0.7212 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.579, allocations: 235.4 kB / 0.7214 GB, free: 140 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.579, allocations: 0 / 0.7214 GB, free: 140 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.579, allocations: 3.938 kB / 0.7214 GB, free: 136 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.579, allocations: 1.125 kB / 0.7214 GB, free: 136 kB / 0.6075 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.0008883/0.5799, allocations: 431.3 kB / 0.7218 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.58, allocations: 9.453 kB / 0.7218 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.58, allocations: 20.05 kB / 0.7219 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.5803, allocations: 154.1 kB / 0.722 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.5803, allocations: 8.297 kB / 0.722 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.5804, allocations: 9.25 kB / 0.722 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.581, allocations: 202.9 kB / 0.7222 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.581, allocations: 4.875 kB / 0.7222 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.581, allocations: 5.156 kB / 0.7222 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.581, allocations: 2.625 kB / 0.7222 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.5818, allocations: 221.2 kB / 0.7224 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009954/0.5828, allocations: 455.4 kB / 0.7229 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.5833, allocations: 149.4 kB / 0.723 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.5837, allocations: 143.7 kB / 0.7232 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.5837, allocations: 5.297 kB / 0.7232 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5838, allocations: 33.23 kB / 0.7232 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.5838, allocations: 7.938 kB / 0.7232 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001703/0.5855, allocations: 474 kB / 0.7236 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.5855, allocations: 53.08 kB / 0.7237 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.5857, allocations: 158.8 kB / 0.7238 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.5857, allocations: 30.77 kB / 0.7239 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.5858, allocations: 109.8 kB / 0.724 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.5859, allocations: 65.78 kB / 0.724 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.586, allocations: 33.73 kB / 0.7241 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5861, allocations: 328.7 kB / 0.7244 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.5866, allocations: 138 kB / 0.7245 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.5871, allocations: 131 kB / 0.7246 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/0.5879, allocations: 298.1 kB / 0.7249 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5879, allocations: 1.406 kB / 0.7249 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000902/0.5888, allocations: 339.9 kB / 0.7253 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5888, allocations: 5.031 kB / 0.7253 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.5888, allocations: 2.406 kB / 0.7253 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5888, allocations: 5.688 kB / 0.7253 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.5891, allocations: 33.66 kB / 0.7253 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.5891, allocations: 5.719 kB / 0.7253 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.5893, allocations: 48.33 kB / 0.7254 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.5893, allocations: 2.656 kB / 0.7254 GB, free: 13.96 MB / 0.6231 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 0.0001657/0.5895, allocations: 142 kB / 0.7255 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.5895, allocations: 12.06 kB / 0.7255 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/0.5905, allocations: 363.2 kB / 0.7259 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5905, allocations: 7.781 kB / 0.7259 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5905, allocations: 1.031 kB / 0.7259 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5905, allocations: 3.938 kB / 0.7259 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.5908, allocations: 188.6 kB / 0.726 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5908, allocations: 0.6094 kB / 0.726 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.591, allocations: 38.64 kB / 0.7261 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.591, allocations: 1.312 kB / 0.7261 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.591, allocations: 4.703 kB / 0.7261 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.591, allocations: 1.469 kB / 0.7261 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.591, allocations: 3.938 kB / 0.7261 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.592, allocations: 435.9 kB / 0.7265 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.592, allocations: 17.69 kB / 0.7265 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.592, allocations: 9.875 kB / 0.7265 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.5922, allocations: 27.84 kB / 0.7266 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.5923, allocations: 13.42 kB / 0.7266 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5923, allocations: 2.5 kB / 0.7266 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.987e-05/0.5924, allocations: 116.6 kB / 0.7267 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5924, allocations: 0 / 0.7267 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003435/0.5928, allocations: 47.05 kB / 0.7267 GB, free: 13.21 MB / 0.6231 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.0002472/0.593, allocations: 120.3 kB / 0.7268 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.5941, allocations: 363.8 kB / 0.7272 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5941, allocations: 0 / 0.7272 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.5946, allocations: 223.4 kB / 0.7274 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.5949, allocations: 29.03 kB / 0.7274 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.5956, allocations: 353.9 kB / 0.7278 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.5958, allocations: 119.9 kB / 0.7279 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.548e-05/0.5958, allocations: 21.09 kB / 0.7279 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.5959, allocations: 18 kB / 0.7279 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 4.1e-07/0.5959, allocations: 0 / 0.7279 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.006265/0.6022, allocations: 2.151 MB / 0.73 GB, free: 12.35 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.258266549557447] Failed to read output from testmodel.py, exit status != 0: 0.6106731537729502 0.625882442 0.043680789000000005 Calling exit ...