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.000795/0.000795, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008744/0.0008744, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.975/0.975, allocations: 230.6 MB / 256 MB, free: 9.617 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.8192/0.8192, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001078/0.001078, allocations: 75.19 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5348, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001582/0.5364, allocations: 0.7968 MB / 0.8186 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.5375, allocations: 1.037 MB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.5376, allocations: 0.875 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.5377, allocations: 12.33 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.5377, allocations: 16.47 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.5382, allocations: 102.2 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.5383, allocations: 127.3 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.5384, allocations: 40.94 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.5385, allocations: 53.48 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.5386, allocations: 53.62 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.5386, allocations: 11.53 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.5387, allocations: 87.95 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.5388, allocations: 45.23 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.5389, allocations: 48.17 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.5391, allocations: 214.4 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5391, allocations: 0 / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5391, allocations: 0 / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5391, allocations: 0 / 0.8204 GB, free: 15.41 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.0005734/0.5397, allocations: 430.4 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5397, allocations: 8.938 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.5398, allocations: 42.16 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.5398, allocations: 19.39 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.54, allocations: 155.8 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.54, allocations: 2.375 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.54, allocations: 14.19 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.5404, allocations: 203.2 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5404, allocations: 3.938 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5404, allocations: 6.656 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5404, allocations: 6.344 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.5408, allocations: 221.7 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.5414, allocations: 491.6 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.5417, allocations: 151.1 kB / 0.8221 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.5419, allocations: 139.2 kB / 0.8222 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.542, allocations: 9.469 kB / 0.8222 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.542, allocations: 33.25 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.542, allocations: 0 / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008543/0.5428, allocations: 478.3 kB / 0.8227 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5429, allocations: 60.59 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.543, allocations: 155.2 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.543, allocations: 27.02 kB / 0.8229 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.543, allocations: 109.8 kB / 0.8231 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.5431, allocations: 72.55 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.5431, allocations: 34.03 kB / 0.8232 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.5432, allocations: 329.5 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.5435, allocations: 129.4 kB / 0.8236 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.5437, allocations: 134.6 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.5441, allocations: 297.2 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5441, allocations: 5.469 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004992/0.5446, allocations: 334.9 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5447, allocations: 5.406 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.5447, allocations: 5.656 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5447, allocations: 1.875 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.5448, allocations: 37.69 kB / 0.8244 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5448, allocations: 1.156 kB / 0.8244 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.599e-05/0.5449, allocations: 40.41 kB / 0.8244 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.545, allocations: 7.531 kB / 0.8244 GB, free: 13.16 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.0001156/0.5451, allocations: 136.8 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.5451, allocations: 12.09 kB / 0.8246 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.5457, allocations: 367.1 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5457, allocations: 6.828 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5457, allocations: 0 / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5457, allocations: 0.6562 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.5459, allocations: 224.6 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5459, allocations: 8.594 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.546, allocations: 34.88 kB / 0.8252 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.546, allocations: 3.984 kB / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.546, allocations: 1.125 kB / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.546, allocations: 5.797 kB / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.546, allocations: 0 / 0.8252 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.5467, allocations: 432.6 kB / 0.8256 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.5467, allocations: 13.52 kB / 0.8256 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.5467, allocations: 1.344 kB / 0.8256 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5468, allocations: 43.56 kB / 0.8257 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.5469, allocations: 17.45 kB / 0.8257 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5469, allocations: 3.5 kB / 0.8257 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.547, allocations: 113.4 kB / 0.8258 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.547, allocations: 0 / 0.8258 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002775/0.5473, allocations: 47.55 kB / 0.8258 GB, free: 12.37 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.000949/0.5482, allocations: 0.9928 MB / 0.8268 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.5488, allocations: 366.8 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5488, allocations: 0 / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.5492, allocations: 222.7 kB / 0.8274 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5495, allocations: 27.08 kB / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.5522, allocations: 2.345 MB / 0.8297 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.5523, allocations: 123.7 kB / 0.8298 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.407e-05/0.5524, allocations: 18.78 kB / 0.8298 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.5525, allocations: 42.75 kB / 0.8299 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.5525, allocations: 0 / 0.8299 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.5762, allocations: 4.6 MB / 0.8343 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/7.3, allocations: 8.625 kB / 0.8344 GB, free: 8.562 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.306476128287613] Failed to read output from testmodel.py, exit status != 0: 7.381029870826751 7.395081024 6.852997311 Calling exit ...