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.0008061/0.0008061, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008119/0.0008119, allocations: 213 kB / 23 MB, free: 2.98 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.8715/0.8715, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.6911/0.6911, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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.0008297/0.0008297, allocations: 67.12 kB / 0.7194 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3753, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.00131/0.3766, allocations: 0.804 MB / 0.8198 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.3773, allocations: 1.031 MB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.3774, allocations: 1.469 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.3775, allocations: 12.12 kB / 0.8209 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.3775, allocations: 24.45 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3779, allocations: 100 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.378, allocations: 118 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3781, allocations: 38.22 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.3782, allocations: 55.23 kB / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.3782, allocations: 57.81 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3782, allocations: 10 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3783, allocations: 87.61 kB / 0.8213 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.3784, allocations: 40.12 kB / 0.8214 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.3784, allocations: 51.75 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3786, allocations: 221 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3787, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3787, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3787, allocations: 3.938 kB / 0.8216 GB, free: 15.71 MB / 0.6198 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.0005538/0.3792, allocations: 425.8 kB / 0.822 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3792, allocations: 15.09 kB / 0.8221 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.3793, allocations: 20.2 kB / 0.8221 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3794, allocations: 153.6 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3795, allocations: 3.844 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3795, allocations: 8.281 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3798, allocations: 204.8 kB / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3798, allocations: 192 / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3798, allocations: 9.375 kB / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3798, allocations: 1.312 kB / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3802, allocations: 222.3 kB / 0.8226 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.3808, allocations: 454 kB / 0.8231 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.381, allocations: 155.1 kB / 0.8232 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3812, allocations: 135.4 kB / 0.8234 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.3812, allocations: 9.172 kB / 0.8234 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3813, allocations: 32.22 kB / 0.8234 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 9.52e-07/0.3813, allocations: 0 / 0.8234 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0007607/0.382, allocations: 483.2 kB / 0.8239 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.382, allocations: 56.47 kB / 0.8239 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.3821, allocations: 155 kB / 0.8241 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3822, allocations: 29.7 kB / 0.8241 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.3822, allocations: 105.7 kB / 0.8242 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.3823, allocations: 77.39 kB / 0.8243 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.3823, allocations: 29.78 kB / 0.8243 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.3824, allocations: 328.9 kB / 0.8246 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3826, allocations: 134.1 kB / 0.8247 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3828, allocations: 133.8 kB / 0.8249 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.3832, allocations: 298.6 kB / 0.8251 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3832, allocations: 0 / 0.8251 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004399/0.3837, allocations: 335.9 kB / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3837, allocations: 5.219 kB / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3837, allocations: 3.156 kB / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3837, allocations: 0 / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3838, allocations: 46.3 kB / 0.8255 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3838, allocations: 4.609 kB / 0.8255 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/0.3839, allocations: 45.3 kB / 0.8256 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3839, allocations: 2.406 kB / 0.8256 GB, free: 13.54 MB / 0.6198 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.706e-05/0.384, allocations: 136.8 kB / 0.8257 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.384, allocations: 20.34 kB / 0.8257 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.3845, allocations: 360 kB / 0.8261 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3845, allocations: 5.734 kB / 0.8261 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3845, allocations: 0 / 0.8261 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3845, allocations: 4.453 kB / 0.8261 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3847, allocations: 189.5 kB / 0.8263 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3847, allocations: 1.891 kB / 0.8263 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.3848, allocations: 39.02 kB / 0.8263 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3848, allocations: 0.5625 kB / 0.8263 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3848, allocations: 1.312 kB / 0.8263 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3848, allocations: 4.609 kB / 0.8263 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3848, allocations: 1.688 kB / 0.8263 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.3852, allocations: 434.8 kB / 0.8267 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.3853, allocations: 25.67 kB / 0.8267 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3853, allocations: 2.203 kB / 0.8267 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.3854, allocations: 27.06 kB / 0.8268 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3854, allocations: 13.11 kB / 0.8268 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3854, allocations: 3.266 kB / 0.8268 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.3855, allocations: 121.7 kB / 0.8269 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3855, allocations: 0 / 0.8269 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001862/0.3857, allocations: 42.64 kB / 0.8269 GB, free: 12.79 MB / 0.6198 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.0003959/0.3861, allocations: 130.5 kB / 0.8271 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.3866, allocations: 358.2 kB / 0.8274 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3866, allocations: 0 / 0.8274 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.3868, allocations: 224 kB / 0.8276 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.387, allocations: 20.42 kB / 0.8276 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.3875, allocations: 381.2 kB / 0.828 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.3876, allocations: 119.4 kB / 0.8281 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3876, allocations: 11.59 kB / 0.8281 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.3876, allocations: 3.938 kB / 0.8281 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.003482/0.3911, allocations: 2.111 MB / 0.8302 GB, free: 11.95 MB / 0.6198 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.4437975492328405] Failed to read output from testmodel.py, exit status != 0: 0.39577744295820594 0.40420361200000005 0.023738498 Calling exit ...