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.0007437/0.0007437, allocations: 76.45 kB / 19.91 MB, free: 16 kB / 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.0007371/0.0007371, allocations: 165.9 kB / 23.18 MB, free: 1.387 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 0.8676/0.8676, allocations: 177.2 MB / 203.6 MB, free: 5.785 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-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 0.685/0.685, allocations: 154.9 MB / 414.9 MB, free: 496 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: 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.0008969/0.0008969, allocations: 75.88 kB / 0.62 GB, free: 12.68 MB / 0.5886 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.4104/0.4113, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001354/0.4127, allocations: 0.7961 MB / 0.7203 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.4134, allocations: 1.034 MB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.4135, allocations: 5.062 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.4136, allocations: 12.39 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.4136, allocations: 17.41 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.414, allocations: 97.58 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4141, allocations: 123.2 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4142, allocations: 30.02 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.4143, allocations: 74.91 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.4144, allocations: 58.25 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.4144, allocations: 9.812 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4145, allocations: 91.47 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.4146, allocations: 42.52 kB / 0.7219 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.4146, allocations: 48.98 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4148, allocations: 242.6 kB / 0.7221 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4148, allocations: 1.094 kB / 0.7221 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4148, allocations: 0 / 0.7221 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.872e-06/0.4149, allocations: 0 / 0.7221 GB, free: 21.86 MB / 0.6355 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.0004905/0.4153, allocations: 431.2 kB / 0.7226 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4154, allocations: 15.91 kB / 0.7226 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.4154, allocations: 19.23 kB / 0.7226 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.4155, allocations: 148.3 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.4155, allocations: 7.625 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.4156, allocations: 6.375 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.4159, allocations: 206.8 kB / 0.7229 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4159, allocations: 1.438 kB / 0.7229 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4159, allocations: 13 kB / 0.723 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4159, allocations: 2.281 kB / 0.723 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.4163, allocations: 218.5 kB / 0.7232 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.4168, allocations: 468.2 kB / 0.7236 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.417, allocations: 146.1 kB / 0.7238 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.4172, allocations: 140.2 kB / 0.7239 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.4173, allocations: 13.73 kB / 0.7239 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.4173, allocations: 33.36 kB / 0.7239 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 8.52e-07/0.4173, allocations: 0 / 0.7239 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0007416/0.418, allocations: 479.9 kB / 0.7244 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.418, allocations: 54.17 kB / 0.7244 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.4181, allocations: 155 kB / 0.7246 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.4181, allocations: 26.7 kB / 0.7246 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.4182, allocations: 110.5 kB / 0.7247 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4182, allocations: 76.92 kB / 0.7248 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.4182, allocations: 34.3 kB / 0.7248 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.246e-05/0.4183, allocations: 327.9 kB / 0.7251 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4185, allocations: 129.9 kB / 0.7253 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.4187, allocations: 135.2 kB / 0.7254 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.4191, allocations: 301.9 kB / 0.7257 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4191, allocations: 1.156 kB / 0.7257 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000441/0.4195, allocations: 335.8 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4195, allocations: 4.469 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4196, allocations: 2.297 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4196, allocations: 1.75 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4197, allocations: 32.7 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4197, allocations: 1.766 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.4198, allocations: 40.83 kB / 0.7261 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.4198, allocations: 11.12 kB / 0.7261 GB, free: 19.69 MB / 0.6355 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.562e-05/0.4199, allocations: 138.1 kB / 0.7262 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.4199, allocations: 13.52 kB / 0.7262 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.4204, allocations: 366.4 kB / 0.7266 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4204, allocations: 2.109 kB / 0.7266 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4204, allocations: 0.9062 kB / 0.7266 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4204, allocations: 4.594 kB / 0.7266 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4205, allocations: 188.4 kB / 0.7268 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4205, allocations: 1.859 kB / 0.7268 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.4206, allocations: 43.81 kB / 0.7268 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.4206, allocations: 0 / 0.7268 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4206, allocations: 5.469 kB / 0.7268 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4206, allocations: 0.75 kB / 0.7268 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.4206, allocations: 1.188 kB / 0.7268 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.4211, allocations: 443 kB / 0.7272 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.4211, allocations: 18.31 kB / 0.7273 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.4211, allocations: 0.5625 kB / 0.7273 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4212, allocations: 32.42 kB / 0.7273 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.4213, allocations: 13.66 kB / 0.7273 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.4213, allocations: 6.953 kB / 0.7273 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.4213, allocations: 116.6 kB / 0.7274 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4213, allocations: 0 / 0.7274 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001782/0.4215, allocations: 45.67 kB / 0.7275 GB, free: 18.93 MB / 0.6355 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.0001302/0.4216, allocations: 112 kB / 0.7276 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.4221, allocations: 367 kB / 0.7279 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4221, allocations: 1.125 kB / 0.7279 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.4224, allocations: 218.6 kB / 0.7281 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.4226, allocations: 22.45 kB / 0.7282 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.423, allocations: 383.9 kB / 0.7285 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.4231, allocations: 127.1 kB / 0.7286 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.4231, allocations: 17.48 kB / 0.7287 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4231, allocations: 0 / 0.7287 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.002769/0.4259, allocations: 2.124 MB / 0.7307 GB, free: 18.09 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.666303080972284] Failed to read output from testmodel.py, exit status != 0: 0.4307772268075496 0.437840749 0.021417955000000002 Calling exit ...