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.001352/0.001352, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001449/0.001449, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8879/0.8879, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5772/0.5772, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 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="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 2.555e-06/2.555e-06, allocations: 0 / 0.5543 GB, free: 1.637 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.412e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001467/0.001491, allocations: 0.7891 MB / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.002619, allocations: 1.03 MB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.002684, allocations: 4 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.002794, allocations: 11.88 kB / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.002843, allocations: 27.72 kB / 0.5561 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.003279, allocations: 95.77 kB / 0.5562 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003413, allocations: 127.6 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.003551, allocations: 29.23 kB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.003644, allocations: 79.8 kB / 0.5564 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.003699, allocations: 47.88 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.003722, allocations: 8 kB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.003864, allocations: 87.84 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.003914, allocations: 43.84 kB / 0.5566 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.003953, allocations: 31.91 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.00421, allocations: 235.2 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004212, allocations: 4 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004214, allocations: 0 / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004218, allocations: 0 / 0.5568 GB, free: 14.99 MB / 490.7 MB 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.000857/0.005075, allocations: 422 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.005123, allocations: 16.02 kB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.005162, allocations: 38.75 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.0052, allocations: 24.73 kB / 0.5573 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.00536, allocations: 160.9 kB / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.005371, allocations: 4.375 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.005385, allocations: 8.375 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.005734, allocations: 206 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005744, allocations: 192 / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.005756, allocations: 384 / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.005764, allocations: 12.12 kB / 0.5577 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.006125, allocations: 223.7 kB / 0.5579 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.006753, allocations: 475.5 kB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.006994, allocations: 158.4 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.007184, allocations: 136.8 kB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.00723, allocations: 7.984 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.007252, allocations: 34.56 kB / 0.5587 GB, free: 12.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 1.233e-06/0.007254, allocations: 4 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007218/0.007975, allocations: 476.8 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.008005, allocations: 51.41 kB / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.0081, allocations: 162.1 kB / 0.5593 GB, free: 12.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.008113, allocations: 25.7 kB / 0.5594 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.008161, allocations: 108.5 kB / 0.5595 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.008205, allocations: 75.38 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.008247, allocations: 33.7 kB / 0.5596 GB, free: 12.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.00833, allocations: 326.8 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.008527, allocations: 135.8 kB / 0.56 GB, free: 11.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.008718, allocations: 135.9 kB / 0.5601 GB, free: 11.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.009109, allocations: 299.9 kB / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009111, allocations: 0 / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004434/0.009555, allocations: 325.3 kB / 0.5607 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.009572, allocations: 4 kB / 0.5607 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.00959, allocations: 4 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.009605, allocations: 3.938 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.009738, allocations: 43.89 kB / 0.5608 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009744, allocations: 0 / 0.5608 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.009829, allocations: 43.78 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.009852, allocations: 4 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB 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.0001266/0.009979, allocations: 135.5 kB / 0.561 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01001, allocations: 15.89 kB / 0.561 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.01053, allocations: 362.6 kB / 0.5613 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01053, allocations: 4 kB / 0.5613 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.01054, allocations: 7.984 kB / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01054, allocations: 0 / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.01072, allocations: 232.5 kB / 0.5616 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.01073, allocations: 3.938 kB / 0.5616 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.01082, allocations: 35.95 kB / 0.5616 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01082, allocations: 0 / 0.5616 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.01084, allocations: 11.98 kB / 0.5616 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01084, allocations: 0 / 0.5616 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01084, allocations: 4 kB / 0.5616 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.01134, allocations: 436.8 kB / 0.562 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.01135, allocations: 19.8 kB / 0.562 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01137, allocations: 4 kB / 0.5621 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.01146, allocations: 27.95 kB / 0.5621 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.01152, allocations: 11.98 kB / 0.5621 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01154, allocations: 4 kB / 0.5621 GB, free: 9.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.193e-05/0.0116, allocations: 126.4 kB / 0.5622 GB, free: 9.219 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 0.5622 GB, free: 9.219 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01183, allocations: 32 kB / 0.5622 GB, free: 9.188 MB / 490.7 MB 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.0008574/0.01269, allocations: 0.9941 MB / 0.5632 GB, free: 8.164 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.01323, allocations: 371.5 kB / 0.5636 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01324, allocations: 0 / 0.5636 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.01347, allocations: 219.4 kB / 0.5638 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.0137, allocations: 20.12 kB / 0.5638 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.01632, allocations: 2.361 MB / 0.5661 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.697e-05/0.01642, allocations: 126.9 kB / 0.5662 GB, free: 4.957 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.01648, allocations: 11.98 kB / 0.5662 GB, free: 4.945 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.01655, allocations: 44.48 kB / 0.5663 GB, free: 4.902 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01655, allocations: 0 / 0.5663 GB, free: 4.902 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.03566, allocations: 4.738 MB / 0.5709 GB, free: 348 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.004, allocations: 4.875 kB / 0.5709 GB, free: 344 kB / 490.7 MB " [Timeout remaining time 653] (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: 9.583447620272636] Failed to read output from testmodel.py, exit status != 0: 7.087712228298187 7.098423366 7.091350198 Calling exit ...