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.001134/0.001134, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001112/0.001112, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8782/0.8782, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7027/0.7027, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.742e-05, allocations: 3.844 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001634/0.001661, allocations: 0.796 MB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.002869, allocations: 1.034 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.002928, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003033, allocations: 11.86 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.003074, allocations: 23.75 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.003512, allocations: 91.81 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.003646, allocations: 127.5 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.003796, allocations: 37.27 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.00389, allocations: 75.88 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.003947, allocations: 47.86 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.003966, allocations: 8 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.004097, allocations: 87.86 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.004149, allocations: 43.84 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.004192, allocations: 39.83 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.004444, allocations: 227.2 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004447, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.004448, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.004453, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 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.0007688/0.005222, allocations: 421.4 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.005265, allocations: 13.47 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.005305, allocations: 46.73 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.005341, allocations: 20.8 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.005489, allocations: 148.7 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.0055, allocations: 8.375 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.005513, allocations: 4.375 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.005862, allocations: 202.1 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.005872, allocations: 4.172 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.005885, allocations: 4.375 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005892, allocations: 8.125 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.00625, allocations: 227.7 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.00683, allocations: 479.5 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.007059, allocations: 150.5 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.007255, allocations: 140.8 kB / 0.6225 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.007304, allocations: 4 kB / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.007325, allocations: 30.56 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.007327, allocations: 0 / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0007504/0.008077, allocations: 484.2 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.008117, allocations: 51.41 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.008233, allocations: 154.3 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008248, allocations: 37.64 kB / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.008294, allocations: 108.5 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.008342, allocations: 71.45 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.00839, allocations: 37.64 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.008479, allocations: 330.8 kB / 0.6237 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.008678, allocations: 131.9 kB / 0.6239 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.008858, allocations: 131.9 kB / 0.624 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.009489, allocations: 301.4 kB / 0.6243 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.009492, allocations: 4 kB / 0.6243 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004187/0.009911, allocations: 326.8 kB / 0.6246 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.009925, allocations: 5.875 kB / 0.6246 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.009942, allocations: 7.984 kB / 0.6246 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.009957, allocations: 0 / 0.6246 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.01008, allocations: 31.95 kB / 0.6246 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01008, allocations: 0 / 0.6246 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.01017, allocations: 51.78 kB / 0.6247 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.01019, allocations: 4 kB / 0.6247 GB, free: 6.699 MB / 0.5886 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.0001044/0.0103, allocations: 137.2 kB / 0.6248 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.01032, allocations: 11.91 kB / 0.6248 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.0108, allocations: 374.4 kB / 0.6252 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01081, allocations: 4 kB / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01081, allocations: 0 / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01082, allocations: 0 / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.01098, allocations: 228.5 kB / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01098, allocations: 0 / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.01108, allocations: 43.95 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01108, allocations: 0 / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.01109, allocations: 0 / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01109, allocations: 0 / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01109, allocations: 0 / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.01154, allocations: 447 kB / 0.6259 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.01156, allocations: 23.8 kB / 0.6259 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.01158, allocations: 7.984 kB / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.01166, allocations: 23.97 kB / 0.6259 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01171, allocations: 19.97 kB / 0.6259 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01172, allocations: 4 kB / 0.6259 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.01177, allocations: 122.6 kB / 0.6261 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01177, allocations: 0 / 0.6261 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002007/0.01197, allocations: 39.94 kB / 0.6261 GB, free: 5.172 MB / 0.5886 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.0007594/0.01273, allocations: 0.9894 MB / 0.6271 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.01323, allocations: 359.2 kB / 0.6274 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01323, allocations: 0 / 0.6274 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.01346, allocations: 223.3 kB / 0.6276 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.01369, allocations: 20.62 kB / 0.6276 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.01583, allocations: 2.368 MB / 0.63 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.162e-05/0.01591, allocations: 118.9 kB / 0.6301 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.767e-05/0.01597, allocations: 19.97 kB / 0.6301 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.01603, allocations: 44.48 kB / 0.6301 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of SimCode: time 7.11e-07/0.01603, allocations: 0 / 0.6301 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.03537, allocations: 4.732 MB / 0.6348 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/6.901, allocations: 13.69 kB / 0.6348 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.55714354570955] Failed to read output from testmodel.py, exit status != 0: 6.981224354356527 6.989455089 6.983272284 Calling exit ...