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.001834/0.001834, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002255/0.002255, allocations: 211.9 kB / 22.99 MB, free: 4.977 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 0.9493/0.9493, allocations: 149.9 MB / 463 MB, free: 10.38 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="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: 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.002133/0.002133, allocations: 71.56 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1943, allocations: 89.18 MB / 0.7282 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002129/0.1964, allocations: 0.7865 MB / 0.729 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.198, allocations: 1.042 MB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.1981, allocations: 0 / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1982, allocations: 7.875 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.1982, allocations: 27.73 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1987, allocations: 87.83 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1989, allocations: 127.6 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.199, allocations: 37.28 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.1991, allocations: 51.83 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.1992, allocations: 51.77 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.1993, allocations: 12 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1994, allocations: 95.83 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.1995, allocations: 39.84 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.1996, allocations: 47.67 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.1999, allocations: 215.3 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1999, allocations: 0 / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1999, allocations: 0 / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1999, allocations: 0 / 0.7308 GB, free: 14.36 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.0009022/0.2008, allocations: 429.4 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2008, allocations: 8.031 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.2009, allocations: 46.73 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.2009, allocations: 16.84 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.2011, allocations: 146.2 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2012, allocations: 8.375 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2012, allocations: 8.375 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.2018, allocations: 206.6 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2018, allocations: 7.922 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2018, allocations: 4 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2018, allocations: 4 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.2026, allocations: 231.6 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2036, allocations: 483.3 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.2041, allocations: 150.5 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.2045, allocations: 140.8 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.2045, allocations: 7.984 kB / 0.7326 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2046, allocations: 34.56 kB / 0.7326 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.2046, allocations: 0 / 0.7326 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001502/0.2061, allocations: 474.2 kB / 0.7331 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.2061, allocations: 59.34 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2063, allocations: 153.7 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2063, allocations: 29.64 kB / 0.7333 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.2064, allocations: 116.5 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.262e-05/0.2065, allocations: 71.48 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.2066, allocations: 33.7 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.2068, allocations: 326.8 kB / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2072, allocations: 127.9 kB / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.2076, allocations: 143.2 kB / 0.7341 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/0.2084, allocations: 300.6 kB / 0.7344 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2084, allocations: 0 / 0.7344 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000919/0.2094, allocations: 339.8 kB / 0.7347 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2094, allocations: 4 kB / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.2094, allocations: 4 kB / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2094, allocations: 0 / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.2097, allocations: 35.89 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2097, allocations: 4.234 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2099, allocations: 43.84 kB / 0.7348 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.2099, allocations: 4 kB / 0.7348 GB, free: 10.05 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.0001783/0.2101, allocations: 137.8 kB / 0.7349 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.2101, allocations: 11.91 kB / 0.7349 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2112, allocations: 370.5 kB / 0.7353 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2112, allocations: 7.938 kB / 0.7353 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2112, allocations: 0 / 0.7353 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2112, allocations: 0 / 0.7353 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.2115, allocations: 224.6 kB / 0.7355 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2115, allocations: 4 kB / 0.7355 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2117, allocations: 39.94 kB / 0.7355 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2117, allocations: 0 / 0.7355 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2117, allocations: 0 / 0.7355 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2117, allocations: 11.88 kB / 0.7355 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2117, allocations: 0 / 0.7355 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/0.2127, allocations: 436.4 kB / 0.736 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.2127, allocations: 15.84 kB / 0.736 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2127, allocations: 8 kB / 0.736 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.213, allocations: 35.89 kB / 0.736 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.213, allocations: 11.98 kB / 0.736 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.213, allocations: 0 / 0.736 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.2131, allocations: 119.2 kB / 0.7361 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2131, allocations: 0 / 0.7361 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003339/0.2135, allocations: 35.94 kB / 0.7362 GB, free: 8.539 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.001574/0.2151, allocations: 0.9985 MB / 0.7372 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009785/0.216, allocations: 363.1 kB / 0.7375 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.216, allocations: 0 / 0.7375 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.2165, allocations: 219.3 kB / 0.7377 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.2169, allocations: 27.92 kB / 0.7377 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.2209, allocations: 2.341 MB / 0.74 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.221, allocations: 118.8 kB / 0.7401 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.801e-05/0.2211, allocations: 19.97 kB / 0.7402 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/0.2212, allocations: 43.42 kB / 0.7402 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.2212, allocations: 0 / 0.7402 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.2555, allocations: 4.596 MB / 0.7447 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.64, allocations: 10.66 kB / 0.7447 GB, free: 15.82 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.46923351706937] Failed to read output from testmodel.py, exit status != 0: 11.751128832809627 11.776311069 11.571317286 Calling exit ...