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.0007865/0.0007865, 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.0007959/0.0007959, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.9037/0.9037, allocations: 230.6 MB / 256.8 MB, free: 3.43 MB / 202.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.7682/0.7682, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [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.00094/0.00094, allocations: 63.91 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.442, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001454/0.4435, allocations: 0.8272 MB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.4443, allocations: 1.045 MB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.4444, allocations: 1.469 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.516e-05/0.4445, allocations: 15.98 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.4445, allocations: 23.42 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4449, allocations: 97.38 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.445, allocations: 126.7 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4452, allocations: 43.05 kB / 0.8213 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.4452, allocations: 51.56 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.4453, allocations: 59.94 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.4453, allocations: 10.41 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4454, allocations: 97.59 kB / 0.8215 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.4455, allocations: 43.28 kB / 0.8215 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.4455, allocations: 64.81 kB / 0.8216 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.4458, allocations: 209.2 kB / 0.8218 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4458, allocations: 5.359 kB / 0.8218 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4458, allocations: 1.344 kB / 0.8218 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4458, allocations: 0.6875 kB / 0.8218 GB, free: 23.55 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.0004719/0.4463, allocations: 416.1 kB / 0.8222 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4463, allocations: 11.47 kB / 0.8222 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.4463, allocations: 19.17 kB / 0.8222 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4465, allocations: 163.5 kB / 0.8224 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4465, allocations: 4.156 kB / 0.8224 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.4465, allocations: 11.28 kB / 0.8224 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.4468, allocations: 208.9 kB / 0.8226 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4468, allocations: 3.656 kB / 0.8226 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4468, allocations: 4.938 kB / 0.8226 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4468, allocations: 1.375 kB / 0.8226 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.4472, allocations: 220.6 kB / 0.8228 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.4478, allocations: 0.4995 MB / 0.8233 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.4481, allocations: 150.2 kB / 0.8234 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4483, allocations: 140.2 kB / 0.8236 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.4483, allocations: 6.234 kB / 0.8236 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.4484, allocations: 40.48 kB / 0.8236 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.223e-06/0.4484, allocations: 0 / 0.8236 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0007511/0.4491, allocations: 480.5 kB / 0.8241 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.4491, allocations: 56.59 kB / 0.8241 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.4492, allocations: 156.3 kB / 0.8243 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.4492, allocations: 25.7 kB / 0.8243 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.4492, allocations: 106.9 kB / 0.8244 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.4493, allocations: 77.25 kB / 0.8245 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4493, allocations: 33.05 kB / 0.8245 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.4494, allocations: 329.2 kB / 0.8248 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.4496, allocations: 129.6 kB / 0.8249 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.4498, allocations: 133.6 kB / 0.8251 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.4501, allocations: 302.4 kB / 0.8254 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4501, allocations: 1.281 kB / 0.8254 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004294/0.4506, allocations: 340.5 kB / 0.8257 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4506, allocations: 4.625 kB / 0.8257 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4506, allocations: 1.969 kB / 0.8257 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4506, allocations: 0 / 0.8257 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4507, allocations: 34.67 kB / 0.8257 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4507, allocations: 5.156 kB / 0.8257 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.4508, allocations: 44.52 kB / 0.8258 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.4508, allocations: 3.391 kB / 0.8258 GB, free: 21.36 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.896e-05/0.4509, allocations: 136 kB / 0.8259 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.4509, allocations: 21.97 kB / 0.8259 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.4514, allocations: 362.9 kB / 0.8263 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4514, allocations: 1.188 kB / 0.8263 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4514, allocations: 4.688 kB / 0.8263 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4514, allocations: 1.25 kB / 0.8263 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.4516, allocations: 243.2 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4516, allocations: 1.875 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.4517, allocations: 34.52 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4517, allocations: 1.281 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4517, allocations: 0.6094 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4517, allocations: 1.156 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4517, allocations: 4.828 kB / 0.8265 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.4522, allocations: 435 kB / 0.827 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.4522, allocations: 25.22 kB / 0.827 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4522, allocations: 1.812 kB / 0.827 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.4523, allocations: 32.23 kB / 0.827 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4523, allocations: 16.61 kB / 0.827 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4523, allocations: 3.094 kB / 0.827 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.4524, allocations: 108.6 kB / 0.8271 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4524, allocations: 0 / 0.8271 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002167/0.4526, allocations: 46.45 kB / 0.8272 GB, free: 20.57 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.000142/0.4527, allocations: 126.4 kB / 0.8273 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004982/0.4532, allocations: 366.1 kB / 0.8277 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4532, allocations: 1.344 kB / 0.8277 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.4535, allocations: 218 kB / 0.8279 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.4537, allocations: 24.89 kB / 0.8279 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.4541, allocations: 388.2 kB / 0.8283 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4542, allocations: 0.731 MB / 0.829 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.4543, allocations: 16.69 kB / 0.829 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.4543, allocations: 4 kB / 0.829 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.002933/0.4572, allocations: 2.06 MB / 0.831 GB, free: 19.11 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.978046234929934] Failed to read output from testmodel.py, exit status != 0: 0.46292688488028944 0.470226974 0.02277691 Calling exit ...