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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 110.4 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 194.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.126/1.126, allocations: 147.6 MB / 445.6 MB, free: 8.375 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2854/0.2854, allocations: 63.53 kB / 0.611 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.4226, allocations: 83.15 MB / 0.6922 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002099/0.4248, allocations: 0.8243 MB / 0.693 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4262, allocations: 1.009 MB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.4263, allocations: 1.531 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.4264, allocations: 17.17 kB / 0.694 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.4265, allocations: 17.25 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.4269, allocations: 90.19 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.4271, allocations: 133.7 kB / 0.6942 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.4273, allocations: 44.64 kB / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.4274, allocations: 51.98 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.4275, allocations: 60 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.4275, allocations: 10.41 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.4277, allocations: 92.25 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.4278, allocations: 43.53 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.4279, allocations: 67.66 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.4282, allocations: 212.5 kB / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4282, allocations: 0 / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4283, allocations: 0 / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.4283, allocations: 0 / 0.6948 GB, free: 11.38 MB / 0.5137 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.0009779/0.4292, allocations: 495.4 kB / 0.6952 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4293, allocations: 9.625 kB / 0.6952 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.4294, allocations: 52.23 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.4294, allocations: 18.3 kB / 0.6953 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.4297, allocations: 208.7 kB / 0.6955 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4297, allocations: 7.125 kB / 0.6955 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.4297, allocations: 4.5 kB / 0.6955 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.4303, allocations: 205.9 kB / 0.6957 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4303, allocations: 9.375 kB / 0.6957 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4303, allocations: 4 kB / 0.6957 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.4303, allocations: 2.219 kB / 0.6957 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/0.4312, allocations: 218.2 kB / 0.6959 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.4323, allocations: 0.5208 MB / 0.6964 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.4328, allocations: 169.2 kB / 0.6966 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.4333, allocations: 156.9 kB / 0.6968 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.4333, allocations: 8.156 kB / 0.6968 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4334, allocations: 31.94 kB / 0.6968 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.4334, allocations: 0 / 0.6968 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001848/0.4352, allocations: 485.3 kB / 0.6973 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.4354, allocations: 56.31 kB / 0.6973 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.4356, allocations: 147.9 kB / 0.6975 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.4356, allocations: 35.33 kB / 0.6975 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.4357, allocations: 113.8 kB / 0.6976 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.258e-05/0.4358, allocations: 71.86 kB / 0.6977 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.4359, allocations: 33.05 kB / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4361, allocations: 328.4 kB / 0.698 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.4365, allocations: 138.5 kB / 0.6981 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.4369, allocations: 128.5 kB / 0.6983 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/0.4378, allocations: 303.8 kB / 0.6986 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4378, allocations: 3.938 kB / 0.6986 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009119/0.4387, allocations: 325.4 kB / 0.6989 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4387, allocations: 4 kB / 0.6989 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.4388, allocations: 0 / 0.6989 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4388, allocations: 0 / 0.6989 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.439, allocations: 43.89 kB / 0.6989 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4391, allocations: 0 / 0.6989 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.4393, allocations: 35.84 kB / 0.6989 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.4393, allocations: 8 kB / 0.699 GB, free: 7.828 MB / 0.5137 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.0001656/0.4395, allocations: 139.7 kB / 0.6991 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.4395, allocations: 15.91 kB / 0.6991 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.4405, allocations: 373.7 kB / 0.6995 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4406, allocations: 7.938 kB / 0.6995 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4406, allocations: 0 / 0.6995 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4406, allocations: 0 / 0.6995 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.4409, allocations: 261.5 kB / 0.6997 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.4409, allocations: 8 kB / 0.6997 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.4412, allocations: 39.94 kB / 0.6998 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4412, allocations: 0 / 0.6998 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4412, allocations: 4 kB / 0.6998 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4412, allocations: 3.938 kB / 0.6998 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4412, allocations: 4 kB / 0.6998 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.4422, allocations: 443.1 kB / 0.7002 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.4423, allocations: 96.91 kB / 0.7003 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.4423, allocations: 0 / 0.7003 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.4425, allocations: 35.89 kB / 0.7003 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.4426, allocations: 15.98 kB / 0.7003 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.4426, allocations: 0 / 0.7003 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.4427, allocations: 122 kB / 0.7005 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4427, allocations: 0 / 0.7005 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003085/0.443, allocations: 39.94 kB / 0.7005 GB, free: 6.156 MB / 0.5137 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.001462/0.4445, allocations: 0.9891 MB / 0.7015 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009897/0.4455, allocations: 383.2 kB / 0.7018 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4455, allocations: 3.938 kB / 0.7018 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.446, allocations: 247.3 kB / 0.7021 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.4463, allocations: 23.92 kB / 0.7021 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.4503, allocations: 2.355 MB / 0.7044 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.4507, allocations: 0.7314 MB / 0.7051 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.701e-05/0.4508, allocations: 19.97 kB / 0.7051 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.4509, allocations: 43.42 kB / 0.7052 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.4509, allocations: 0 / 0.7052 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.4769, allocations: 3.933 MB / 0.709 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.574, allocations: 8.047 kB / 0.709 GB, free: 13.37 MB / 0.5294 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 12.253867560066283] Failed to read output from testmodel.py, exit status != 0: 8.648109821835533 8.673076242 8.240094217 Calling exit ...