Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001369/0.001369, allocations: 109 kB / 20.48 MB, free: 1.465 MB / 14.72 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.001822/0.001822, allocations: 213.8 kB / 23.79 MB, free: 4.676 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.036/1.036, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002043/0.002043, allocations: 61.34 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1993, allocations: 89.19 MB / 0.7292 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.003176/0.2025, allocations: 0.8297 MB / 0.73 GB, free: 404 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2045, allocations: 1.049 MB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.2046, allocations: 0 / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2048, allocations: 19.8 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.2048, allocations: 23.8 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.2054, allocations: 87.83 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.2056, allocations: 123.6 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.2058, allocations: 41.25 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.206, allocations: 51.84 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2061, allocations: 63.75 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2061, allocations: 8 kB / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.2064, allocations: 99.84 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.2064, allocations: 35.86 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2065, allocations: 71.58 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.2069, allocations: 207.3 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2069, allocations: 0 / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2069, allocations: 4 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.2069, allocations: 0 / 0.7318 GB, free: 14.51 MB / 0.5606 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.001162/0.2081, allocations: 427.5 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.2082, allocations: 12.03 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.405e-05/0.2082, allocations: 4.188 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.2083, allocations: 50.73 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.2083, allocations: 16.84 kB / 0.7323 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2086, allocations: 150.2 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2086, allocations: 8.375 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.2086, allocations: 4.375 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.2094, allocations: 210.4 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2094, allocations: 0 / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.2094, allocations: 4 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2095, allocations: 7.984 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009905/0.2104, allocations: 223.7 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.2118, allocations: 0.4915 MB / 0.7334 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.2124, allocations: 146.5 kB / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.213, allocations: 144.8 kB / 0.7336 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.2131, allocations: 7.984 kB / 0.7336 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2131, allocations: 30.56 kB / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.725e-06/0.2131, allocations: 0 / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.002063/0.2152, allocations: 488.6 kB / 0.7341 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.2152, allocations: 55.41 kB / 0.7342 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.2154, allocations: 150.2 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.2154, allocations: 29.7 kB / 0.7344 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.2155, allocations: 112.5 kB / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2156, allocations: 67.38 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2157, allocations: 29.7 kB / 0.7346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2159, allocations: 334.8 kB / 0.7349 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.2165, allocations: 131.9 kB / 0.735 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.217, allocations: 127.9 kB / 0.7351 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.2181, allocations: 301.4 kB / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2181, allocations: 0 / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001245/0.2194, allocations: 343.9 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2194, allocations: 4 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.2194, allocations: 7.922 kB / 0.7358 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.2194, allocations: 7.938 kB / 0.7358 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.2198, allocations: 39.95 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2198, allocations: 0 / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.22, allocations: 39.84 kB / 0.7358 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.2201, allocations: 0 / 0.7358 GB, free: 10.19 MB / 0.5606 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.0002159/0.2203, allocations: 141.8 kB / 0.736 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2203, allocations: 11.91 kB / 0.736 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.2217, allocations: 366.5 kB / 0.7363 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2217, allocations: 3.938 kB / 0.7363 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2217, allocations: 0 / 0.7363 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2217, allocations: 0 / 0.7363 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.2221, allocations: 244.5 kB / 0.7366 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.2221, allocations: 4 kB / 0.7366 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.2224, allocations: 31.95 kB / 0.7366 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2224, allocations: 4 kB / 0.7366 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2224, allocations: 4 kB / 0.7366 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.2224, allocations: 7.938 kB / 0.7366 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.2224, allocations: 3.984 kB / 0.7366 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2236, allocations: 440.4 kB / 0.737 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.2236, allocations: 19.83 kB / 0.7371 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.2237, allocations: 4 kB / 0.7371 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.2239, allocations: 27.91 kB / 0.7371 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.2239, allocations: 19.97 kB / 0.7371 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2239, allocations: 0 / 0.7371 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001046/0.2241, allocations: 118.3 kB / 0.7372 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2241, allocations: 0 / 0.7372 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003276/0.2244, allocations: 35.94 kB / 0.7373 GB, free: 8.66 MB / 0.5606 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.001498/0.2259, allocations: 1.002 MB / 0.7382 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.2271, allocations: 363.1 kB / 0.7386 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2271, allocations: 4 kB / 0.7386 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.2278, allocations: 223.1 kB / 0.7388 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.2283, allocations: 20.7 kB / 0.7388 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.2337, allocations: 2.341 MB / 0.7411 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.2342, allocations: 0.7352 MB / 0.7418 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.2343, allocations: 11.98 kB / 0.7418 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.2344, allocations: 43.42 kB / 0.7419 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.2344, allocations: 0 / 0.7419 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.2649, allocations: 4.195 MB / 0.746 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 9.844 kB / 0.746 GB, free: 15.73 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.391601882991381] Failed to read output from testmodel.py, exit status != 0: 11.659071739006322 11.676495994 11.466184252 Calling exit ...