Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007368/0.0007368, allocations: 76.45 kB / 19.91 MB, free: 12 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.0007276/0.0007276, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8699/0.8699, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6993/0.6993, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008037/0.0008037, allocations: 73.77 kB / 0.6196 GB, free: 13.04 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4117/0.4125, allocations: 101.9 MB / 0.7192 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001476/0.414, allocations: 0.7999 MB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.4148, allocations: 1.021 MB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.4148, allocations: 2.219 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.4149, allocations: 19.28 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.415, allocations: 20.69 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.4153, allocations: 95.2 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.4154, allocations: 130.9 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4156, allocations: 33.39 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.4157, allocations: 71.2 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.4157, allocations: 54.16 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.4158, allocations: 9.438 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.4159, allocations: 92.28 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.4159, allocations: 46.62 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.416, allocations: 48.48 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.4162, allocations: 240 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4162, allocations: 0 / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4162, allocations: 4 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4162, allocations: 0 / 0.7218 GB, free: 21.96 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.0004996/0.4167, allocations: 428.1 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4168, allocations: 10.16 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.4168, allocations: 18.7 kB / 0.7222 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4169, allocations: 150.8 kB / 0.7224 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4169, allocations: 9.219 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.417, allocations: 12.97 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.4173, allocations: 202.6 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4173, allocations: 4.125 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4173, allocations: 5.188 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4173, allocations: 3.562 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.4177, allocations: 220.2 kB / 0.7228 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.4183, allocations: 456.8 kB / 0.7232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.4185, allocations: 150.7 kB / 0.7234 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.4187, allocations: 139.7 kB / 0.7235 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.4188, allocations: 6.672 kB / 0.7235 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.4188, allocations: 31.88 kB / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.4188, allocations: 0 / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.000779/0.4196, allocations: 483.8 kB / 0.724 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.4196, allocations: 52.47 kB / 0.7241 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.4197, allocations: 160 kB / 0.7242 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.4197, allocations: 26.95 kB / 0.7242 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.4197, allocations: 111 kB / 0.7243 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.4197, allocations: 68.41 kB / 0.7244 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.4198, allocations: 34.03 kB / 0.7244 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.4198, allocations: 328.8 kB / 0.7248 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.42, allocations: 133.6 kB / 0.7249 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4202, allocations: 133.6 kB / 0.725 GB, free: 20 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.4207, allocations: 296 kB / 0.7253 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4207, allocations: 1.594 kB / 0.7253 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004585/0.4211, allocations: 336.8 kB / 0.7256 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4211, allocations: 5.062 kB / 0.7256 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4211, allocations: 6.156 kB / 0.7256 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4212, allocations: 1.312 kB / 0.7256 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4213, allocations: 40.52 kB / 0.7257 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4213, allocations: 7.984 kB / 0.7257 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.4214, allocations: 39.64 kB / 0.7257 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4214, allocations: 2.938 kB / 0.7257 GB, free: 19.8 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 8.22e-05/0.4215, allocations: 140.3 kB / 0.7258 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.4215, allocations: 12.34 kB / 0.7259 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.422, allocations: 371.6 kB / 0.7262 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.422, allocations: 1.969 kB / 0.7262 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.422, allocations: 9.047 kB / 0.7262 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.422, allocations: 4.5 kB / 0.7262 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.4222, allocations: 189.5 kB / 0.7264 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4222, allocations: 1.719 kB / 0.7264 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.4223, allocations: 34.61 kB / 0.7264 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4223, allocations: 0 / 0.7264 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4223, allocations: 1.125 kB / 0.7264 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4223, allocations: 6.484 kB / 0.7265 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4223, allocations: 0 / 0.7265 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.4228, allocations: 447.6 kB / 0.7269 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.4228, allocations: 18.2 kB / 0.7269 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4228, allocations: 1.094 kB / 0.7269 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4229, allocations: 31.55 kB / 0.7269 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.423, allocations: 12.78 kB / 0.7269 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.423, allocations: 4.156 kB / 0.7269 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.423, allocations: 119.1 kB / 0.7271 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.423, allocations: 0.9688 kB / 0.7271 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001914/0.4232, allocations: 42.69 kB / 0.7271 GB, free: 19.05 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.0001496/0.4234, allocations: 124 kB / 0.7272 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.4239, allocations: 358.4 kB / 0.7276 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4239, allocations: 5.25 kB / 0.7276 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.4241, allocations: 218 kB / 0.7278 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4243, allocations: 17.67 kB / 0.7278 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.4248, allocations: 384.6 kB / 0.7282 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.4249, allocations: 128.1 kB / 0.7283 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.4249, allocations: 13 kB / 0.7283 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4249, allocations: 0 / 0.7283 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.003187/0.4281, allocations: 2.124 MB / 0.7304 GB, free: 18.21 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.742082170909271] Failed to read output from testmodel.py, exit status != 0: 0.4329239970538765 0.441251481 0.023251452000000002 Calling exit ...