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.0008433/0.0008433, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001448/0.001448, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9978/0.9978, allocations: 230.6 MB / 256 MB, free: 9.828 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.8128/0.8128, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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: "" <> 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: 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.0009812/0.0009812, allocations: 64.59 kB / 0.7183 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5364, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001488/0.5378, allocations: 0.8352 MB / 0.8187 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008374/0.5387, allocations: 1.045 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.5387, allocations: 0 / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.5388, allocations: 18.8 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.5389, allocations: 23.98 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.5392, allocations: 99.67 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.5394, allocations: 121 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.5395, allocations: 42.66 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.5396, allocations: 52.2 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.5397, allocations: 56.64 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.5397, allocations: 10.28 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.5398, allocations: 97.81 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.5399, allocations: 43.88 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.54, allocations: 65.94 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.5402, allocations: 210 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5402, allocations: 7.844 kB / 0.8206 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5402, allocations: 0 / 0.8206 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5402, allocations: 0 / 0.8206 GB, free: 15.58 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.000561/0.5408, allocations: 417.3 kB / 0.821 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5408, allocations: 9.188 kB / 0.821 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.5409, allocations: 47.08 kB / 0.821 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.5409, allocations: 26.22 kB / 0.821 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.5411, allocations: 163.6 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.5411, allocations: 2.531 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.5411, allocations: 7.281 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.5415, allocations: 208.6 kB / 0.8214 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5415, allocations: 3.938 kB / 0.8214 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5415, allocations: 4 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5415, allocations: 8.188 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.5419, allocations: 223.1 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.5426, allocations: 0.4964 MB / 0.8221 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.5428, allocations: 148.8 kB / 0.8222 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.543, allocations: 136 kB / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.5431, allocations: 13.45 kB / 0.8224 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5431, allocations: 34.23 kB / 0.8224 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.5431, allocations: 0 / 0.8224 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0007767/0.5439, allocations: 480.6 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5439, allocations: 57.69 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.544, allocations: 150.6 kB / 0.8231 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.544, allocations: 27.14 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.5441, allocations: 112.9 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.5441, allocations: 73.77 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.5442, allocations: 33.92 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.5443, allocations: 325 kB / 0.8236 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.5445, allocations: 136.9 kB / 0.8238 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5447, allocations: 131 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.5452, allocations: 300.5 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5452, allocations: 1.812 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005052/0.5457, allocations: 335.1 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5457, allocations: 4.969 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.5457, allocations: 1.906 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5458, allocations: 1.312 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.5459, allocations: 43.06 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5459, allocations: 4.062 kB / 0.8245 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.546, allocations: 37.39 kB / 0.8246 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.546, allocations: 2.375 kB / 0.8246 GB, free: 13.32 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 0.0001245/0.5462, allocations: 140.6 kB / 0.8247 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.5462, allocations: 12.38 kB / 0.8247 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.5468, allocations: 371.5 kB / 0.8251 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5468, allocations: 6 kB / 0.8251 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5468, allocations: 8 kB / 0.8251 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5468, allocations: 0.6562 kB / 0.8251 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.5471, allocations: 235.5 kB / 0.8253 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5471, allocations: 2.297 kB / 0.8253 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5472, allocations: 38.48 kB / 0.8254 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5472, allocations: 0 / 0.8254 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5472, allocations: 1.672 kB / 0.8254 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5472, allocations: 5.156 kB / 0.8254 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5472, allocations: 4.656 kB / 0.8254 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.5479, allocations: 435.9 kB / 0.8258 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.5479, allocations: 18.09 kB / 0.8258 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.5479, allocations: 0.5625 kB / 0.8258 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.548, allocations: 36.33 kB / 0.8258 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.5481, allocations: 15.78 kB / 0.8259 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5481, allocations: 2.969 kB / 0.8259 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.436e-05/0.5482, allocations: 114 kB / 0.826 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5482, allocations: 4 kB / 0.826 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002301/0.5484, allocations: 46.31 kB / 0.826 GB, free: 12.52 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.000894/0.5493, allocations: 0.9935 MB / 0.827 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.5499, allocations: 366.2 kB / 0.8273 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5499, allocations: 0 / 0.8273 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.5502, allocations: 227.6 kB / 0.8276 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.5504, allocations: 21.33 kB / 0.8276 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.5537, allocations: 2.345 MB / 0.8299 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5541, allocations: 0.7272 MB / 0.8306 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.548e-05/0.5542, allocations: 21.42 kB / 0.8306 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.5543, allocations: 48.23 kB / 0.8306 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5543, allocations: 0 / 0.8306 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.5717, allocations: 4.172 MB / 0.8347 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/7.222, allocations: 1.312 kB / 0.8347 GB, free: 8.574 MB / 0.6198 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: 10.208756353938952] Failed to read output from testmodel.py, exit status != 0: 7.301678672200069 7.316851023 6.774105607 Calling exit ...